Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 101.3 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 195.1 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6159/0.6159, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2669, allocations: 76.17 MB / 0.556 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002112/0.269, allocations: 1.526 MB / 0.5575 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.27, allocations: 1.08 MB / 0.5586 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.2701, allocations: 3.938 kB / 0.5586 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2703, allocations: 19.94 kB / 0.5586 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2704, allocations: 29.64 kB / 0.5586 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.2706, allocations: 64.33 kB / 0.5587 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2707, allocations: 149 kB / 0.5588 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2708, allocations: 56.33 kB / 0.5589 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.2709, allocations: 78.92 kB / 0.559 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.2711, allocations: 63.23 kB / 0.559 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.2711, allocations: 11.53 kB / 0.559 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.2712, allocations: 24.64 kB / 0.5591 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.2713, allocations: 50.27 kB / 0.5591 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.2713, allocations: 78.47 kB / 0.5592 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2715, allocations: 200.6 kB / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2715, allocations: 0 / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2715, allocations: 0 / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2715, allocations: 0.6562 kB / 0.5594 GB, free: 33.3 MB / 446.1 MB 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.0005327/0.2721, allocations: 498.7 kB / 0.5598 GB, free: 32.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2721, allocations: 10.03 kB / 0.5599 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.2722, allocations: 40.62 kB / 0.5599 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.2722, allocations: 17.16 kB / 0.5599 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2724, allocations: 265.9 kB / 0.5602 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.335e-05/0.2725, allocations: 117.1 kB / 0.5603 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.2726, allocations: 4.312 kB / 0.5603 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2728, allocations: 162.5 kB / 0.5604 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2728, allocations: 0.7969 kB / 0.5604 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2729, allocations: 2.531 kB / 0.5604 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.2729, allocations: 16.95 kB / 0.5605 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.273, allocations: 48.39 kB / 0.5605 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008335/0.2738, allocations: 456.3 kB / 0.5609 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.2739, allocations: 45.78 kB / 0.561 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.2739, allocations: 23.52 kB / 0.561 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2739, allocations: 10.25 kB / 0.561 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.274, allocations: 33.33 kB / 0.561 GB, free: 31.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.274, allocations: 0.5 kB / 0.561 GB, free: 31.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002197/0.2742, allocations: 98.64 kB / 0.5611 GB, free: 31.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.2742, allocations: 66.41 kB / 0.5612 GB, free: 31.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2744, allocations: 216.3 kB / 0.5614 GB, free: 31.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2744, allocations: 26.95 kB / 0.5614 GB, free: 31.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.2744, allocations: 125.2 kB / 0.5616 GB, free: 31.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2745, allocations: 29.62 kB / 0.5616 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.2745, allocations: 31.02 kB / 0.5616 GB, free: 31.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.854e-05/0.2746, allocations: 327 kB / 0.5619 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.2746, allocations: 26 kB / 0.5619 GB, free: 31.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.235e-05/0.2747, allocations: 96.66 kB / 0.562 GB, free: 31.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2748, allocations: 142.8 kB / 0.5622 GB, free: 30.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2748, allocations: 2.469 kB / 0.5622 GB, free: 30.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001978/0.275, allocations: 154.5 kB / 0.5623 GB, free: 30.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.275, allocations: 6.438 kB / 0.5623 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.275, allocations: 3.719 kB / 0.5623 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.275, allocations: 2.562 kB / 0.5623 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.2751, allocations: 22.06 kB / 0.5624 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2752, allocations: 12.58 kB / 0.5624 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.2752, allocations: 16.88 kB / 0.5624 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2752, allocations: 7.453 kB / 0.5624 GB, free: 30.86 MB / 446.1 MB 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 8.513e-05/0.2753, allocations: 143.3 kB / 0.5625 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.2754, allocations: 15.66 kB / 0.5625 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.2756, allocations: 117.2 kB / 0.5627 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2756, allocations: 2.688 kB / 0.5627 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2756, allocations: 4.547 kB / 0.5627 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2756, allocations: 0.6562 kB / 0.5627 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2758, allocations: 232.1 kB / 0.5629 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2758, allocations: 2.312 kB / 0.5629 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.2758, allocations: 14.33 kB / 0.5629 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2758, allocations: 0.5312 kB / 0.5629 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2758, allocations: 6.172 kB / 0.5629 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2758, allocations: 2.156 kB / 0.5629 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2758, allocations: 4.328 kB / 0.5629 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.276, allocations: 194.4 kB / 0.5631 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.276, allocations: 91.23 kB / 0.5632 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.276, allocations: 0.75 kB / 0.5632 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.2763, allocations: 23.69 kB / 0.5632 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.2763, allocations: 16.36 kB / 0.5632 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.2763, allocations: 11.62 kB / 0.5632 GB, free: 30.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.2764, allocations: 159 kB / 0.5634 GB, free: 30.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2764, allocations: 1.344 kB / 0.5634 GB, free: 30.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.2767, allocations: 33.53 kB / 0.5634 GB, free: 30.06 MB / 446.1 MB 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.0003564/0.2771, allocations: 0.7438 MB / 0.5641 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.2772, allocations: 77.73 kB / 0.5642 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2773, allocations: 0.5625 kB / 0.5642 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.2773, allocations: 24.06 kB / 0.5642 GB, free: 29.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2776, allocations: 30.42 kB / 0.5643 GB, free: 29.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2789, allocations: 1.951 MB / 0.5662 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.2791, allocations: 0.7345 MB / 0.5669 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.2792, allocations: 58.3 kB / 0.567 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.2793, allocations: 45.73 kB / 0.567 GB, free: 27 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2793, allocations: 0.625 kB / 0.567 GB, free: 27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.183/4.463, allocations: 4.127 MB / 0.571 GB, free: 26.63 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/4.463, allocations: 234.7 kB / 0.5712 GB, free: 26.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/7.717, allocations: 0 / 0.5712 GB, free: 26.38 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1)