Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.578/2.578, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 185 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00154/0.001539, allocations: 86.36 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006853/0.0006856, allocations: 11.41 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2743, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001839/0.2762, allocations: 0.9431 MB / 0.9794 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2775, allocations: 380.8 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.2776, allocations: 4 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2776, allocations: 0 / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.2777, allocations: 3.938 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.2784, allocations: 79.8 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.2785, allocations: 11.98 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.2785, allocations: 7.984 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.2786, allocations: 11.94 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.2786, allocations: 7.984 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2787, allocations: 4 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.279, allocations: 91.84 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.2791, allocations: 3.938 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.2791, allocations: 33.69 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.2793, allocations: 67.89 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2794, allocations: 0 / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2794, allocations: 0 / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2794, allocations: 0 / 0.98 GB, free: 26.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005126/0.2799, allocations: 377.2 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.28, allocations: 12.02 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.828e-05/0.2801, allocations: 34.56 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.2801, allocations: 3.984 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2803, allocations: 171 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.2803, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.2803, allocations: 8 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2805, allocations: 33.69 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2805, allocations: 0 / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2805, allocations: 11.92 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2806, allocations: 0 / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.098e-05/0.2806, allocations: 11.98 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.2811, allocations: 248.8 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.2812, allocations: 38.5 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.2813, allocations: 20.8 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2813, allocations: 4 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.2816, allocations: 59.48 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.695e-06/0.2816, allocations: 0 / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003285/0.2819, allocations: 69.81 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.282, allocations: 59.39 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.2821, allocations: 101.8 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.2821, allocations: 29.7 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.2822, allocations: 80.14 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.2822, allocations: 23.73 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.2822, allocations: 0 / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.2823, allocations: 314.8 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.2824, allocations: 8 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.2824, allocations: 35.42 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.2825, allocations: 19.94 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2825, allocations: 0 / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001872/0.2827, allocations: 69.61 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2828, allocations: 4 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2828, allocations: 64 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.2828, allocations: 8 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.283, allocations: 8 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.283, allocations: 0 / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.2831, allocations: 20 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2831, allocations: 0 / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/0.2832, allocations: 115.1 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.2832, allocations: 3.906 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.2833, allocations: 11.56 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2833, allocations: 0 / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2833, allocations: 0 / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2833, allocations: 288 / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.2837, allocations: 306.6 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2838, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.2838, allocations: 3.938 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2838, allocations: 7.938 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2839, allocations: 3.984 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2839, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2839, allocations: 3.938 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.2841, allocations: 163.5 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.2842, allocations: 85.02 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2842, allocations: 4 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.2843, allocations: 0 / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2844, allocations: 3.984 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2844, allocations: 4 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.2844, allocations: 83.23 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.01e-07/0.2845, allocations: 0 / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007718/0.2853, allocations: 35.98 kB / 0.9826 GB, free: 23.59 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009708/0.2862, allocations: 0.7751 MB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.2865, allocations: 31.92 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2865, allocations: 4 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.2866, allocations: 12.12 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.287, allocations: 7.984 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.288, allocations: 417 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.2882, allocations: 0.6809 MB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.2882, allocations: 8.234 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.2882, allocations: 11.44 kB / 0.9845 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2883, allocations: 0 / 0.9845 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.3111, allocations: 1.76 MB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.3114, allocations: 224.4 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/2.896, allocations: 0 / 0.9865 GB, free: 19.7 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)