Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.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.001293/0.001293, allocations: 101.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.001267/0.001267, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9555/0.9555, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7952/0.7952, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_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.0009211/0.0009211, allocations: 66.55 kB / 0.7182 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5126, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00202/0.5146, allocations: 1.506 MB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.516, allocations: 1.204 MB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.5161, allocations: 2.875 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.5163, allocations: 17.47 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.5165, allocations: 40.23 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.5166, allocations: 66.34 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.5168, allocations: 147.5 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.5169, allocations: 39.69 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.517, allocations: 84.94 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.5171, allocations: 53.98 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.5172, allocations: 14.25 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.5172, allocations: 22.75 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.5173, allocations: 50.55 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.5174, allocations: 65.08 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.5176, allocations: 200.4 kB / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5176, allocations: 0 / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5176, allocations: 0 / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5176, allocations: 0.5625 kB / 0.8212 GB, free: 14.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005626/0.5182, allocations: 434.9 kB / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5182, allocations: 7.344 kB / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.5183, allocations: 43.78 kB / 0.8217 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.5183, allocations: 22.36 kB / 0.8217 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.5186, allocations: 199.2 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.5187, allocations: 224.9 kB / 0.8221 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.5187, allocations: 11.42 kB / 0.8221 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.519, allocations: 264.3 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.519, allocations: 4 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.519, allocations: 7.156 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.519, allocations: 6.594 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.5191, allocations: 39.62 kB / 0.8224 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.5198, allocations: 404.7 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.5199, allocations: 31.19 kB / 0.8228 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.5199, allocations: 25.02 kB / 0.8228 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.52, allocations: 8.672 kB / 0.8228 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.52, allocations: 37.16 kB / 0.8229 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.52, allocations: 0 / 0.8229 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002773/0.5203, allocations: 106.7 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5203, allocations: 57.11 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.5205, allocations: 224.3 kB / 0.8232 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.5206, allocations: 26.8 kB / 0.8233 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.5206, allocations: 120.1 kB / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.5207, allocations: 26.3 kB / 0.8234 GB, free: 13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.5207, allocations: 34.97 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5208, allocations: 330.3 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.5209, allocations: 22.3 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.521, allocations: 104.8 kB / 0.8239 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.5211, allocations: 133.8 kB / 0.824 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5211, allocations: 6.219 kB / 0.824 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002232/0.5213, allocations: 158.5 kB / 0.8242 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5214, allocations: 6.969 kB / 0.8242 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5214, allocations: 2.375 kB / 0.8242 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.5214, allocations: 3.219 kB / 0.8242 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.5215, allocations: 25.83 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5215, allocations: 8.516 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.5216, allocations: 9.234 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.5216, allocations: 6.281 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001289/0.5217, allocations: 146.8 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.5218, allocations: 23.16 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.522, allocations: 118.7 kB / 0.8245 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.522, allocations: 1.406 kB / 0.8245 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.522, allocations: 7.875 kB / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.522, allocations: 1.734 kB / 0.8245 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.5222, allocations: 194.3 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5222, allocations: 0 / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.5223, allocations: 13.81 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5223, allocations: 1.188 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5223, allocations: 2.797 kB / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5223, allocations: 0 / 0.8247 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5223, allocations: 3.938 kB / 0.8247 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.5225, allocations: 190.5 kB / 0.8249 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.5225, allocations: 12.8 kB / 0.8249 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.5225, allocations: 0.75 kB / 0.8249 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.5227, allocations: 21.56 kB / 0.8249 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.5227, allocations: 10.27 kB / 0.8249 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.5227, allocations: 14.3 kB / 0.825 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001428/0.5228, allocations: 160.4 kB / 0.8251 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5228, allocations: 0 / 0.8251 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002506/0.5231, allocations: 36.03 kB / 0.8251 GB, free: 11.62 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 (8): * Single equations (assignments): 8 * 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.0004897/0.5236, allocations: 0.7445 MB / 0.8259 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.5237, allocations: 72.44 kB / 0.8259 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5237, allocations: 5.188 kB / 0.8259 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.5238, allocations: 32.17 kB / 0.826 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.524, allocations: 28.78 kB / 0.826 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.5255, allocations: 1.918 MB / 0.8279 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.5256, allocations: 123 kB / 0.828 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.5257, allocations: 50.72 kB / 0.828 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.5258, allocations: 42.89 kB / 0.8281 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.5258, allocations: 1.344 kB / 0.8281 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.5492, allocations: 4.906 MB / 0.8329 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/7.302, allocations: 9.906 kB / 0.8329 GB, free: 8.051 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.202373698819429] Failed to read output from testmodel.py, exit status != 0: 7.384050622116774 7.401764669 6.881785933 Calling exit ...