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.001068/0.001068, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001056/0.001056, allocations: 192.1 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 222 MB, free: 4.758 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.588/1.588, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001549/0.001549, allocations: 67.64 kB / 0.6709 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2259, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002405/0.2283, allocations: 1.29 MB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.2292, allocations: 432.5 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.2292, allocations: 0 / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.2293, allocations: 0 / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.2293, allocations: 0 / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.2298, allocations: 91.78 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.14e-05/0.2299, allocations: 15.94 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.2299, allocations: 3.984 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.2299, allocations: 4 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.052e-05/0.23, allocations: 15.92 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.23, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.2302, allocations: 91.91 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.2302, allocations: 4 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.2303, allocations: 23.84 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.2304, allocations: 87.83 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2305, allocations: 4 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2305, allocations: 0 / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2305, allocations: 3.938 kB / 0.7848 GB, free: 11.84 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.0004881/0.231, allocations: 377.4 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.231, allocations: 12.03 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.2311, allocations: 30.75 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.2311, allocations: 4.938 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2312, allocations: 172.3 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.2313, allocations: 4.375 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2313, allocations: 8.375 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2314, allocations: 38.19 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2314, allocations: 7.938 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2314, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2314, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.2315, allocations: 19.91 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.2318, allocations: 241 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.08e-05/0.2319, allocations: 34.52 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.2319, allocations: 20.94 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.2319, allocations: 3.938 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.2321, allocations: 55.41 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.2321, allocations: 0 / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002036/0.2323, allocations: 77.67 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2323, allocations: 51.41 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.2324, allocations: 105.8 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2324, allocations: 29.7 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.2325, allocations: 80.14 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.2325, allocations: 15.75 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.2326, allocations: 25.7 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2327, allocations: 314.8 kB / 0.7864 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.2327, allocations: 12 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.2327, allocations: 35.42 kB / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.2328, allocations: 47.36 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2328, allocations: 3.938 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.9e-05/0.2329, allocations: 73.62 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2329, allocations: 4 kB / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.233, allocations: 0 / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.233, allocations: 4 kB / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.233, allocations: 19.92 kB / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2331, allocations: 0 / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.2331, allocations: 4.156 kB / 0.7866 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.2331, allocations: 4 kB / 0.7866 GB, free: 9.68 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/0.2332, allocations: 121.7 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.2332, allocations: 4.062 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.2332, allocations: 7.562 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2332, allocations: 4 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2332, allocations: 0 / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2332, allocations: 4.266 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2335, allocations: 298.5 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2335, allocations: 0 / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.2335, allocations: 0 / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.2335, allocations: 15.91 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2336, allocations: 0 / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2336, allocations: 4 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2336, allocations: 0 / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2337, allocations: 163.4 kB / 0.7872 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.2338, allocations: 81.09 kB / 0.7873 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2338, allocations: 4 kB / 0.7873 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.2338, allocations: 0 / 0.7873 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.2339, allocations: 7.938 kB / 0.7873 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2339, allocations: 4 kB / 0.7873 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.2339, allocations: 83.27 kB / 0.7874 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2339, allocations: 0 / 0.7874 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002678/0.2342, allocations: 35.94 kB / 0.7874 GB, free: 8.754 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 (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.0006901/0.2349, allocations: 0.7778 MB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.235, allocations: 35.92 kB / 0.7882 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.235, allocations: 0 / 0.7882 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.2351, allocations: 19.98 kB / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.2353, allocations: 0 / 0.7883 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2363, allocations: 1.281 MB / 0.7895 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2366, allocations: 0.6809 MB / 0.7902 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.009e-05/0.2366, allocations: 3.906 kB / 0.7902 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.2366, allocations: 11.44 kB / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2366, allocations: 0 / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.2485, allocations: 1.84 MB / 0.792 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.2487, allocations: 237.8 kB / 0.7922 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.066, allocations: 0 / 0.7922 GB, free: 3.812 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/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)