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.0007552/0.0007552, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0007983/0.0007983, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 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.9499/0.9499, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.8089/0.8089, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 70.66 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5354, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001788/0.5372, allocations: 1.371 MB / 0.8187 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.5373, allocations: 39.55 kB / 0.8188 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.5374, allocations: 0 / 0.8188 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.5376, allocations: 12.14 kB / 0.8188 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.5377, allocations: 18.27 kB / 0.8188 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.5377, allocations: 4 kB / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.5377, allocations: 13.16 kB / 0.8188 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.5378, allocations: 3.141 kB / 0.8188 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.5378, allocations: 13 kB / 0.8188 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.5378, allocations: 9.812 kB / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.5379, allocations: 0 / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.5379, allocations: 8.703 kB / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.5379, allocations: 8.734 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.538, allocations: 9.719 kB / 0.8188 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.333e-05/0.5381, allocations: 18.3 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5381, allocations: 0 / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5381, allocations: 4 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.5381, allocations: 0 / 0.8189 GB, free: 200 kB / 0.6042 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.0002599/0.5383, allocations: 262.8 kB / 0.8191 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5384, allocations: 8.25 kB / 0.8191 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.5384, allocations: 33.39 kB / 0.8192 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.5384, allocations: 3.75 kB / 0.8192 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5386, allocations: 124.2 kB / 0.8193 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.5386, allocations: 2.812 kB / 0.8193 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.5386, allocations: 384 / 0.8193 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.679e-05/0.5387, allocations: 33.38 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5387, allocations: 11.62 kB / 0.8193 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.5387, allocations: 0 / 0.8193 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.5387, allocations: 0 / 0.8193 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.5387, allocations: 7.734 kB / 0.8193 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.5389, allocations: 209.4 kB / 0.8195 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.5389, allocations: 24.92 kB / 0.8196 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.539, allocations: 7.703 kB / 0.8196 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.539, allocations: 1.875 kB / 0.8196 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.539, allocations: 35.2 kB / 0.8196 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.539, allocations: 0 / 0.8196 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001224/0.5391, allocations: 42.69 kB / 0.8196 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.5391, allocations: 58.45 kB / 0.8197 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.5392, allocations: 113 kB / 0.8198 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.5392, allocations: 25.7 kB / 0.8198 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.5393, allocations: 88.91 kB / 0.8199 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.5393, allocations: 0 / 0.8199 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.5393, allocations: 13.77 kB / 0.8199 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.5394, allocations: 316.2 kB / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.5394, allocations: 3.312 kB / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-06/0.5394, allocations: 0 / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.5394, allocations: 22.48 kB / 0.8203 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5394, allocations: 3.938 kB / 0.8203 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.374e-05/0.5395, allocations: 42.27 kB / 0.8203 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.5395, allocations: 5.156 kB / 0.8203 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5395, allocations: 0.625 kB / 0.8203 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5395, allocations: 0.75 kB / 0.8203 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.129e-05/0.5395, allocations: 2.531 kB / 0.8203 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5395, allocations: 0.6094 kB / 0.8203 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.5395, allocations: 1.844 kB / 0.8203 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.5395, allocations: 0 / 0.8203 GB, free: 14.66 MB / 0.6198 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 4.527e-05/0.5396, allocations: 118 kB / 0.8204 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.5396, allocations: 2 kB / 0.8204 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.366e-05/0.5397, allocations: 50.98 kB / 0.8205 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5397, allocations: 0.9375 kB / 0.8205 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5397, allocations: 0 / 0.8205 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.5397, allocations: 0 / 0.8205 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.696e-05/0.5398, allocations: 129.3 kB / 0.8206 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.5398, allocations: 3.75 kB / 0.8206 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-06/0.5398, allocations: 0 / 0.8206 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.5398, allocations: 0.8438 kB / 0.8206 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.5398, allocations: 4.031 kB / 0.8206 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.5398, allocations: 3.938 kB / 0.8206 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5398, allocations: 3.281 kB / 0.8206 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.651e-05/0.5398, allocations: 135.8 kB / 0.8207 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.5398, allocations: 8.203 kB / 0.8207 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.5399, allocations: 3.984 kB / 0.8208 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.852e-05/0.5399, allocations: 0 / 0.8208 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.5399, allocations: 2.219 kB / 0.8208 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.5399, allocations: 0 / 0.8208 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.5399, allocations: 92.31 kB / 0.8208 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5399, allocations: 4.031 kB / 0.8208 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002171/0.5402, allocations: 4.625 kB / 0.8208 GB, free: 14.09 MB / 0.6198 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.0003354/0.5405, allocations: 0.6876 MB / 0.8215 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.716e-05/0.5406, allocations: 14.16 kB / 0.8215 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5406, allocations: 96 / 0.8215 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.5406, allocations: 8.469 kB / 0.8215 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.5407, allocations: 0 / 0.8215 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.5414, allocations: 1.18 MB / 0.8227 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.5414, allocations: 64.7 kB / 0.8228 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.903e-05/0.5415, allocations: 3.094 kB / 0.8228 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.5415, allocations: 14.95 kB / 0.8228 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.5415, allocations: 0 / 0.8228 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.5568, allocations: 1.886 MB / 0.8246 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/7.087, allocations: 11.3 kB / 0.8246 GB, free: 11.28 MB / 0.6198 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: 10.031650013290346] Failed to read output from testmodel.py, exit status != 0: 7.171682591084391 7.18849622 6.64738145 Calling exit ...