Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 109.9 kB / 16.41 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001917, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.133/1.133, allocations: 173.5 MB / 470.7 MB, free: 13.57 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.36 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1835, allocations: 89.53 MB / 0.7353 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.00257/0.1861, allocations: 1.355 MB / 0.7366 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.1863, allocations: 35.83 kB / 0.7366 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.1863, allocations: 0 / 0.7366 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1865, allocations: 11.88 kB / 0.7366 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1866, allocations: 19.91 kB / 0.7366 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.1866, allocations: 4 kB / 0.7366 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.1867, allocations: 11.94 kB / 0.7367 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.1867, allocations: 3.984 kB / 0.7367 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.1868, allocations: 4 kB / 0.7367 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.1868, allocations: 11.94 kB / 0.7367 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1868, allocations: 0 / 0.7367 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.934e-05/0.1869, allocations: 11.98 kB / 0.7367 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.187, allocations: 7.922 kB / 0.7367 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.187, allocations: 11.94 kB / 0.7367 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.023e-05/0.1871, allocations: 23.86 kB / 0.7367 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1871, allocations: 4 kB / 0.7367 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1871, allocations: 0 / 0.7367 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1871, allocations: 0 / 0.7367 GB, free: 0.6836 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003704/0.1875, allocations: 335.3 kB / 0.7371 GB, free: 312 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1876, allocations: 12.03 kB / 0.7371 GB, free: 300 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.1876, allocations: 34.7 kB / 0.7371 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.1876, allocations: 0.9375 kB / 0.7371 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.1878, allocations: 180.3 kB / 0.7373 GB, free: 36 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1878, allocations: 4.375 kB / 0.7373 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.1879, allocations: 384 / 0.7373 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.188, allocations: 38.25 kB / 0.7373 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.188, allocations: 3.938 kB / 0.7373 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.188, allocations: 0 / 0.7373 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.188, allocations: 0 / 0.7373 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.188, allocations: 7.938 kB / 0.7373 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.1883, allocations: 241 kB / 0.7375 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.1884, allocations: 26.52 kB / 0.7376 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.1884, allocations: 4.859 kB / 0.7376 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1884, allocations: 0 / 0.7376 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1885, allocations: 34.62 kB / 0.7376 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1885, allocations: 3.938 kB / 0.7376 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.1886, allocations: 41.62 kB / 0.7377 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1887, allocations: 55.41 kB / 0.7377 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1888, allocations: 113.9 kB / 0.7378 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1888, allocations: 29.7 kB / 0.7378 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.1889, allocations: 84.14 kB / 0.7379 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.1889, allocations: 3.953 kB / 0.7379 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.1889, allocations: 13.72 kB / 0.7379 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1891, allocations: 318.8 kB / 0.7382 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.1891, allocations: 0 / 0.7382 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-06/0.1891, allocations: 4 kB / 0.7383 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.1891, allocations: 16.86 kB / 0.7383 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.1891, allocations: 3.938 kB / 0.7383 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.621e-05/0.1892, allocations: 41.69 kB / 0.7383 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1892, allocations: 4 kB / 0.7383 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.1892, allocations: 0 / 0.7383 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1892, allocations: 0 / 0.7383 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.1893, allocations: 4 kB / 0.7383 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.1893, allocations: 0 / 0.7383 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.1893, allocations: 0 / 0.7383 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1893, allocations: 0 / 0.7383 GB, free: 14.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.739e-05/0.1894, allocations: 117.8 kB / 0.7384 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1894, allocations: 3.953 kB / 0.7384 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.526e-05/0.1895, allocations: 53.09 kB / 0.7385 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1895, allocations: 0 / 0.7385 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.1896, allocations: 4 kB / 0.7385 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1896, allocations: 0 / 0.7385 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1897, allocations: 161.6 kB / 0.7386 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1897, allocations: 0 / 0.7386 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.1898, allocations: 8.016 kB / 0.7387 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1898, allocations: 4 kB / 0.7387 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.1898, allocations: 0 / 0.7387 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1898, allocations: 0 / 0.7387 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1898, allocations: 0 / 0.7387 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1899, allocations: 131.4 kB / 0.7388 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.19, allocations: 85.05 kB / 0.7389 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.19, allocations: 4 kB / 0.7389 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.19, allocations: 8.031 kB / 0.7389 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.19, allocations: 0 / 0.7389 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1901, allocations: 3.938 kB / 0.7389 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.14e-05/0.1901, allocations: 95.56 kB / 0.739 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1901, allocations: 0 / 0.739 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002264/0.1904, allocations: 7.938 kB / 0.739 GB, free: 14.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005438/0.1909, allocations: 0.6734 MB / 0.7396 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.191, allocations: 11.94 kB / 0.7396 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.191, allocations: 0 / 0.7396 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.191, allocations: 0 / 0.7396 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1912, allocations: 12.16 kB / 0.7397 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1924, allocations: 1.182 MB / 0.7408 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1927, allocations: 0.6768 MB / 0.7415 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.896e-05/0.1928, allocations: 4 kB / 0.7415 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.1928, allocations: 19.42 kB / 0.7415 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.1928, allocations: 0 / 0.7415 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.215, allocations: 1.369 MB / 0.7428 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.396, allocations: 11.64 kB / 0.7428 GB, free: 10.02 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.50100871315226] Failed to read output from testmodel.py, exit status != 0: 8.465279285795987 8.793888809 8.604184136 Calling exit ...