Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001276/0.001276, allocations: 189 kB / 371.8 MB, free: 10.23 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.105/2.105, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009926/0.0009927, allocations: 103.8 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003996, allocations: 11.97 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001259/0.2502, allocations: 0.9417 MB / 0.9804 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000668/0.2509, allocations: 430.5 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.2509, allocations: 0 / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.2509, allocations: 4 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.896e-05/0.251, allocations: 3.938 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.2514, allocations: 87.72 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.848e-05/0.2514, allocations: 15.91 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.2515, allocations: 0 / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.2515, allocations: 8 kB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.2515, allocations: 11.92 kB / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2516, allocations: 0 / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.2517, allocations: 75.92 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2517, allocations: 7.984 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.2518, allocations: 29.64 kB / 0.981 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.2519, allocations: 75.83 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2519, allocations: 7.938 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2519, allocations: 0 / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2519, allocations: 0 / 0.9811 GB, free: 25.89 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.0004298/0.2524, allocations: 378.4 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2524, allocations: 16.02 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.009e-05/0.2525, allocations: 30.56 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.2525, allocations: 3.906 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.2526, allocations: 167 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.2526, allocations: 4 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.2527, allocations: 8 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2528, allocations: 37.67 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2528, allocations: 7.938 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2528, allocations: 3.984 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2528, allocations: 0 / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.2529, allocations: 8 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.2531, allocations: 252.9 kB / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.131e-05/0.2532, allocations: 34.58 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.2533, allocations: 0 / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.2534, allocations: 63.42 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.505e-06/0.2534, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001899/0.2536, allocations: 73.62 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2536, allocations: 59.39 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.2537, allocations: 109.8 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2537, allocations: 25.7 kB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.2538, allocations: 88.12 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.2538, allocations: 11.91 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.2538, allocations: 0 / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.2538, allocations: 318.8 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.2539, allocations: 15.92 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.2539, allocations: 35.42 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.2539, allocations: 15.98 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2539, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.332e-05/0.254, allocations: 73.53 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2541, allocations: 4 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2541, allocations: 0 / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2541, allocations: 4 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.2542, allocations: 19.98 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2542, allocations: 0.5 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.2542, allocations: 4 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2542, allocations: 4 kB / 0.9829 GB, free: 23.8 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 6.064e-05/0.2543, allocations: 117.7 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.2543, allocations: 7.906 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.2543, allocations: 3.969 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2543, allocations: 11.98 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2543, allocations: 4 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2543, allocations: 0 / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.2545, allocations: 298.5 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2545, allocations: 3.984 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.2546, allocations: 4 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2546, allocations: 0 / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2546, allocations: 4 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2546, allocations: 0 / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2546, allocations: 0 / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.2547, allocations: 167.4 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.2547, allocations: 88.95 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2548, allocations: 0 / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-05/0.2548, allocations: 8.031 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.2548, allocations: 7.984 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2548, allocations: 0 / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.172e-05/0.2549, allocations: 83.27 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2549, allocations: 0 / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002787/0.2552, allocations: 32 kB / 0.9837 GB, free: 22.88 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.0005099/0.2557, allocations: 0.7816 MB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.2558, allocations: 35.92 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2558, allocations: 0 / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.2558, allocations: 15.94 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.256, allocations: 0.75 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.2565, allocations: 0.8017 MB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.2567, allocations: 0.6848 MB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.6e-05/0.2567, allocations: 4 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.2568, allocations: 15.44 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2568, allocations: 0 / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.2675, allocations: 1.843 MB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.2677, allocations: 240.5 kB / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.415/1.683, allocations: 0 / 0.988 GB, free: 18.52 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)