Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.001227/0.001227, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001495/0.001495, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.906/1.906, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005815/0.0005816, allocations: 19.28 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2803, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001371/0.2818, allocations: 0.9392 MB / 0.7883 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.2826, allocations: 392.9 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.2827, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.2827, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.2827, allocations: 4 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.2832, allocations: 83.78 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.2833, allocations: 15.94 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.2834, allocations: 3.984 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.2834, allocations: 4 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.2835, allocations: 15.92 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2835, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2837, allocations: 87.91 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.2837, allocations: 7.938 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.2837, allocations: 29.7 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.2839, allocations: 67.89 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2839, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2839, allocations: 3.938 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2839, allocations: 0 / 0.789 GB, free: 10.17 MB / 0.6075 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.0005364/0.2845, allocations: 377.2 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2845, allocations: 8.031 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.159e-05/0.2846, allocations: 34.5 kB / 0.7894 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.2846, allocations: 4 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2848, allocations: 171 kB / 0.7896 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2848, allocations: 0 / 0.7896 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.2848, allocations: 4 kB / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.2849, allocations: 41.62 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.285, allocations: 4 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.285, allocations: 0 / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.285, allocations: 0 / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.285, allocations: 4 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.2854, allocations: 260.8 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.2855, allocations: 30.58 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.2855, allocations: 20.92 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2855, allocations: 7.938 kB / 0.7899 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.2857, allocations: 51.41 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.2857, allocations: 4 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002082/0.2859, allocations: 73.67 kB / 0.79 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.286, allocations: 55.41 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.286, allocations: 101.8 kB / 0.7902 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2861, allocations: 33.7 kB / 0.7902 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.2861, allocations: 80.14 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.2861, allocations: 15.75 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.2862, allocations: 4 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2863, allocations: 322.8 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.2863, allocations: 8 kB / 0.7906 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.2863, allocations: 39.41 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.2864, allocations: 12 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2864, allocations: 0 / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001022/0.2865, allocations: 73.64 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2865, allocations: 11.94 kB / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2865, allocations: 0 / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2865, allocations: 0 / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.2866, allocations: 8 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2866, allocations: 4 kB / 0.7908 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.2866, allocations: 3.906 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2867, allocations: 4 kB / 0.7908 GB, free: 8.09 MB / 0.6075 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 6.979e-05/0.2867, allocations: 121.7 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.2868, allocations: 8.016 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.2868, allocations: 11.56 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2868, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2868, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2868, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.2871, allocations: 302.5 kB / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2871, allocations: 0 / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.2871, allocations: 4 kB / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2871, allocations: 0 / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2871, allocations: 0 / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2871, allocations: 4 kB / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2872, allocations: 4 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.2873, allocations: 163.4 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.2873, allocations: 85.02 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2874, allocations: 0 / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.135e-05/0.2874, allocations: 384 / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.2874, allocations: 4.281 kB / 0.7915 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.2875, allocations: 7.984 kB / 0.7915 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.2875, allocations: 91.27 kB / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2875, allocations: 0 / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005313/0.288, allocations: 32 kB / 0.7916 GB, free: 7.164 MB / 0.6075 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.0006661/0.2887, allocations: 0.7801 MB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.2888, allocations: 27.98 kB / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2888, allocations: 0 / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.2889, allocations: 19.94 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.2891, allocations: 4 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.2898, allocations: 421.2 kB / 0.7928 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.29, allocations: 0.6809 MB / 0.7935 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.29, allocations: 4 kB / 0.7935 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.2901, allocations: 11.44 kB / 0.7935 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.425e-06/0.2901, allocations: 4 kB / 0.7935 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.3024, allocations: 1.761 MB / 0.7952 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.3027, allocations: 230.6 kB / 0.7954 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.137, allocations: 0 / 0.7954 GB, free: 3.25 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) Environment - environmentSimulation: