Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008317/0.0008317, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8923/0.8923, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7274/0.7274, allocations: 154.6 MB / 413.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.86e-05, allocations: 11.47 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002071/0.0021, allocations: 1.362 MB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001234/0.002223, allocations: 43.75 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.002261, allocations: 0 / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.002421, allocations: 7.938 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.002532, allocations: 23.91 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.002536, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.002598, allocations: 11.94 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.002638, allocations: 4 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.002682, allocations: 11.92 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.00273, allocations: 7.984 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.002752, allocations: 0 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.002797, allocations: 15.94 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.002838, allocations: 3.938 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.002854, allocations: 0 / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.438e-05/0.002948, allocations: 31.91 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00295, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002952, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002956, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 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.0002621/0.003218, allocations: 254.2 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.003256, allocations: 12.03 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.032e-05/0.003317, allocations: 30.75 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.003341, allocations: 8.891 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.003466, allocations: 113.8 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.003473, allocations: 384 / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.00348, allocations: 384 / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.045e-05/0.00356, allocations: 46.17 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003566, allocations: 192 / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.003574, allocations: 4.375 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.00359, allocations: 4.125 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.003609, allocations: 8 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.003837, allocations: 208 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.003873, allocations: 18.52 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.003888, allocations: 8.922 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.003905, allocations: 0 / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.003929, allocations: 38.5 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.00393, allocations: 4 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.004051, allocations: 41.59 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.004081, allocations: 55.39 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.004155, allocations: 117.8 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.004163, allocations: 25.7 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.004198, allocations: 88.02 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.004211, allocations: 7.953 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.004238, allocations: 13.72 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.004312, allocations: 314.8 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.004324, allocations: 7.984 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.004329, allocations: 4.125 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.96e-05/0.004349, allocations: 12.86 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004351, allocations: 0 / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.691e-05/0.004388, allocations: 37.64 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.004399, allocations: 4 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.004404, allocations: 0 / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.004414, allocations: 0 / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.004463, allocations: 11.92 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.004467, allocations: 0 / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.004479, allocations: 8.094 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.004484, allocations: 0 / 0.621 GB, free: 10.45 MB / 0.5886 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 5.275e-05/0.004537, allocations: 110.8 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.004551, allocations: 3.938 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.004623, allocations: 53.11 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004625, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.004629, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004632, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.004734, allocations: 136.7 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.004736, allocations: 0 / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-06/0.004743, allocations: 4.031 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.004745, allocations: 3.938 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.00475, allocations: 0 / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004751, allocations: 0 / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.004752, allocations: 4 kB / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.151e-05/0.004813, allocations: 131.5 kB / 0.6214 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.004822, allocations: 7.938 kB / 0.6214 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-06/0.00483, allocations: 0 / 0.6214 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.004853, allocations: 0 / 0.6214 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/0.004863, allocations: 4 kB / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-06/0.004864, allocations: 0 / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.0049, allocations: 95.3 kB / 0.6215 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0049, allocations: 0 / 0.6215 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001512/0.005052, allocations: 4 kB / 0.6215 GB, free: 9.828 MB / 0.5886 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.0003671/0.005419, allocations: 0.6927 MB / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.00548, allocations: 8.016 kB / 0.6222 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.005482, allocations: 4.062 kB / 0.6222 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.005486, allocations: 4 kB / 0.6222 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.005631, allocations: 4 kB / 0.6222 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.006327, allocations: 1.175 MB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.006374, allocations: 63.28 kB / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.006423, allocations: 7.984 kB / 0.6235 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.00645, allocations: 16.5 kB / 0.6235 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.006451, allocations: 4.094 kB / 0.6235 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.02091, allocations: 2.03 MB / 0.6255 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.882, allocations: 10.53 kB / 0.6255 GB, free: 5.832 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_WeeklySchedule.fmu > IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.515789055265486] Failed to read output from testmodel.py, exit status != 0: 6.961112525314093 6.96935992 6.964832929 Calling exit ...