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.0009355/0.0009354, allocations: 105.8 kB / 16.27 MB, free: 6.352 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.0008679/0.0008679, allocations: 190.7 kB / 17.2 MB, free: 5.953 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.171/1.171, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7028/0.7028, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 0.4912 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2804, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002401/0.2828, allocations: 1.47 MB / 0.5687 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.284, allocations: 1.102 MB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.284, allocations: 1.906 kB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.2842, allocations: 18.5 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.2844, allocations: 46.83 kB / 0.5699 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.2845, allocations: 55.33 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.2847, allocations: 145 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2849, allocations: 67.23 kB / 0.5701 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.2849, allocations: 79.05 kB / 0.5702 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2851, allocations: 58.08 kB / 0.5702 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.2852, allocations: 10.84 kB / 0.5703 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.2853, allocations: 31.22 kB / 0.5703 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.2854, allocations: 53.19 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.2854, allocations: 78.41 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.2857, allocations: 193.8 kB / 0.5706 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2857, allocations: 0 / 0.5706 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2857, allocations: 0 / 0.5706 GB, free: 30.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2857, allocations: 2.219 kB / 0.5706 GB, free: 30.49 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.0005728/0.2863, allocations: 0.4933 MB / 0.5711 GB, free: 30.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2863, allocations: 12.22 kB / 0.5711 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.2864, allocations: 44.36 kB / 0.5711 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2864, allocations: 20.75 kB / 0.5712 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.2867, allocations: 247.1 kB / 0.5714 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.2868, allocations: 126.8 kB / 0.5715 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2868, allocations: 3.844 kB / 0.5715 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.2872, allocations: 161.5 kB / 0.5717 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2872, allocations: 0 / 0.5717 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.2872, allocations: 6.281 kB / 0.5717 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.2872, allocations: 13.34 kB / 0.5717 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.2873, allocations: 42.75 kB / 0.5717 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.2883, allocations: 465.6 kB / 0.5722 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.2883, allocations: 33 kB / 0.5722 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.2884, allocations: 27.16 kB / 0.5722 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.2884, allocations: 8.078 kB / 0.5722 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2884, allocations: 39 kB / 0.5723 GB, free: 29.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2884, allocations: 0 / 0.5723 GB, free: 29.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002348/0.2887, allocations: 102.6 kB / 0.5724 GB, free: 29.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.2887, allocations: 62.94 kB / 0.5724 GB, free: 29.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2889, allocations: 209.9 kB / 0.5726 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2889, allocations: 27.2 kB / 0.5727 GB, free: 28.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.289, allocations: 126 kB / 0.5728 GB, free: 28.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.289, allocations: 32.52 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.289, allocations: 33.88 kB / 0.5728 GB, free: 28.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.2891, allocations: 324.6 kB / 0.5732 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-05/0.2891, allocations: 27.33 kB / 0.5732 GB, free: 28.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.2892, allocations: 100.1 kB / 0.5733 GB, free: 28.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.2894, allocations: 139.6 kB / 0.5734 GB, free: 28.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2894, allocations: 1.156 kB / 0.5734 GB, free: 28.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000223/0.2896, allocations: 154.5 kB / 0.5736 GB, free: 28.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2896, allocations: 6.156 kB / 0.5736 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2896, allocations: 4 kB / 0.5736 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2896, allocations: 7.625 kB / 0.5736 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.2897, allocations: 21.48 kB / 0.5736 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2898, allocations: 10.53 kB / 0.5736 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.2898, allocations: 11.81 kB / 0.5736 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2898, allocations: 8.219 kB / 0.5736 GB, free: 28.05 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.836e-05/0.2899, allocations: 145.9 kB / 0.5738 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.29, allocations: 16.5 kB / 0.5738 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.2902, allocations: 123 kB / 0.5739 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2902, allocations: 1.312 kB / 0.5739 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2902, allocations: 5.125 kB / 0.5739 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2902, allocations: 4.578 kB / 0.5739 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2904, allocations: 225.1 kB / 0.5741 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2904, allocations: 6.047 kB / 0.5741 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.2905, allocations: 13.73 kB / 0.5741 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2905, allocations: 2.203 kB / 0.5741 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2905, allocations: 1.438 kB / 0.5741 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2905, allocations: 0.7031 kB / 0.5741 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2905, allocations: 9.906 kB / 0.5742 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.2907, allocations: 188.9 kB / 0.5743 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.2907, allocations: 99.19 kB / 0.5744 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.2907, allocations: 1.594 kB / 0.5744 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.291, allocations: 22.2 kB / 0.5744 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.291, allocations: 8.609 kB / 0.5745 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.291, allocations: 13.8 kB / 0.5745 GB, free: 27.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2912, allocations: 164.2 kB / 0.5746 GB, free: 27.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2912, allocations: 0 / 0.5746 GB, free: 27.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.2915, allocations: 28.22 kB / 0.5747 GB, free: 27.24 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.0003943/0.2919, allocations: 0.7473 MB / 0.5754 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.2921, allocations: 80.81 kB / 0.5755 GB, free: 26.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2921, allocations: 1 kB / 0.5755 GB, free: 26.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.2921, allocations: 27.97 kB / 0.5755 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2924, allocations: 19.83 kB / 0.5755 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2939, allocations: 1.923 MB / 0.5774 GB, free: 24.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2941, allocations: 0.7315 MB / 0.5781 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.2942, allocations: 51.69 kB / 0.5781 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.2943, allocations: 50.03 kB / 0.5782 GB, free: 24.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2943, allocations: 0 / 0.5782 GB, free: 24.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/0.4129, allocations: 4.206 MB / 0.5823 GB, free: 22.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.808, allocations: 15.91 kB / 0.5823 GB, free: 22.96 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)