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.00181/0.00181, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.002314/0.002314, allocations: 168 kB / 22.29 MB, free: 3.523 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 1.488/1.488, allocations: 177.2 MB / 202.7 MB, free: 4.824 MB / 186.7 MB " [Timeout remaining time 178] 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 1.256/1.256, allocations: 154.7 MB / 413.8 MB, free: 3.168 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: 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.002929/0.002929, allocations: 66.34 kB / 0.6181 GB, free: 1.102 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2176, allocations: 102 MB / 0.7176 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.003003/0.2206, allocations: 1.384 MB / 0.719 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.2207, allocations: 35.84 kB / 0.719 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.2208, allocations: 4 kB / 0.719 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.2209, allocations: 7.922 kB / 0.719 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.221, allocations: 15.92 kB / 0.719 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.697e-06/0.221, allocations: 0 / 0.719 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.614e-05/0.2211, allocations: 15.88 kB / 0.7191 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.2211, allocations: 3.984 kB / 0.7191 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.2212, allocations: 8 kB / 0.7191 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.2212, allocations: 19.91 kB / 0.7191 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2212, allocations: 0 / 0.7191 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.2213, allocations: 8 kB / 0.7191 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.2213, allocations: 7.938 kB / 0.7191 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.2214, allocations: 7.938 kB / 0.7191 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.23e-05/0.2215, allocations: 23.91 kB / 0.7191 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2215, allocations: 0 / 0.7191 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2215, allocations: 0 / 0.7191 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2215, allocations: 0 / 0.7191 GB, free: 9.703 MB / 0.6198 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.0003473/0.2218, allocations: 270.1 kB / 0.7194 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2218, allocations: 12.03 kB / 0.7194 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.2219, allocations: 30.75 kB / 0.7194 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.2219, allocations: 8.922 kB / 0.7194 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.2221, allocations: 114.5 kB / 0.7195 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2221, allocations: 384 / 0.7195 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.2221, allocations: 384 / 0.7195 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.268e-05/0.2222, allocations: 38.25 kB / 0.7196 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2222, allocations: 3.938 kB / 0.7196 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.2222, allocations: 0 / 0.7196 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.2222, allocations: 3.938 kB / 0.7196 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/0.2223, allocations: 4 kB / 0.7196 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.2226, allocations: 216 kB / 0.7198 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.2226, allocations: 22.52 kB / 0.7198 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.2226, allocations: 4.859 kB / 0.7198 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.2226, allocations: 0 / 0.7198 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2227, allocations: 38.56 kB / 0.7199 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.2227, allocations: 0 / 0.7199 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.2228, allocations: 37.69 kB / 0.7199 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.2229, allocations: 55.41 kB / 0.72 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.223, allocations: 113.8 kB / 0.7201 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.223, allocations: 29.83 kB / 0.7201 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.223, allocations: 84.14 kB / 0.7202 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.2231, allocations: 0 / 0.7202 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.2231, allocations: 21.66 kB / 0.7202 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2233, allocations: 314.8 kB / 0.7205 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.2233, allocations: 4 kB / 0.7205 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.2233, allocations: 3.938 kB / 0.7205 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.2233, allocations: 8.859 kB / 0.7205 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.2233, allocations: 3.938 kB / 0.7205 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.465e-05/0.2234, allocations: 41.75 kB / 0.7206 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2234, allocations: 10.03 kB / 0.7206 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2234, allocations: 3.984 kB / 0.7206 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2234, allocations: 0 / 0.7206 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.2235, allocations: 11.94 kB / 0.7206 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2235, allocations: 0 / 0.7206 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.2235, allocations: 0 / 0.7206 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.2235, allocations: 0 / 0.7206 GB, free: 8.027 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 8.683e-05/0.2236, allocations: 113.8 kB / 0.7207 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.2236, allocations: 0 / 0.7207 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.572e-05/0.2237, allocations: 53.03 kB / 0.7207 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2237, allocations: 4.031 kB / 0.7207 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2237, allocations: 0 / 0.7207 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.2237, allocations: 0 / 0.7207 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2239, allocations: 140.7 kB / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2239, allocations: 0 / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.2239, allocations: 0 / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2239, allocations: 0 / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2239, allocations: 4 kB / 0.7209 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2239, allocations: 0 / 0.7209 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2239, allocations: 0 / 0.7209 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.224, allocations: 147.4 kB / 0.721 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.224, allocations: 0 / 0.721 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.224, allocations: 4 kB / 0.721 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.2241, allocations: 0 / 0.721 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.2241, allocations: 0 / 0.721 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.2241, allocations: 0 / 0.721 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.304e-05/0.2242, allocations: 95.56 kB / 0.7211 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2242, allocations: 0 / 0.7211 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002337/0.2244, allocations: 4 kB / 0.7211 GB, free: 7.398 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.0005628/0.225, allocations: 0.6802 MB / 0.7218 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.292e-05/0.2251, allocations: 15.94 kB / 0.7218 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2251, allocations: 0 / 0.7218 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-06/0.2251, allocations: 0 / 0.7218 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.2253, allocations: 4 kB / 0.7218 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2265, allocations: 1.19 MB / 0.723 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.976e-05/0.2265, allocations: 63.34 kB / 0.723 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.725e-05/0.2266, allocations: 7.984 kB / 0.723 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.2267, allocations: 12.5 kB / 0.723 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2267, allocations: 0 / 0.723 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.2587, allocations: 2.009 MB / 0.725 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.5, allocations: 6.438 kB / 0.725 GB, free: 3.402 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.676489848992787] Failed to read output from testmodel.py, exit status != 0: 11.60753330400621 11.63926274 11.412036822 Calling exit ...