Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.0009489/0.0009489, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001693/0.001693, allocations: 168.7 kB / 15.95 MB, free: 204 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.731/1.731, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.794/1.794, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005212/0.0005212, allocations: 12.19 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2693, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001557/0.2709, allocations: 0.9508 MB / 0.7883 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.2719, allocations: 424.9 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.272, allocations: 3.938 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.272, allocations: 4 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.272, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.2727, allocations: 87.8 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.156e-05/0.2728, allocations: 23.91 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.183e-05/0.2729, allocations: 3.984 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.2729, allocations: 11.92 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.273, allocations: 7.984 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.273, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.2733, allocations: 99.84 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.2733, allocations: 0 / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.2733, allocations: 33.7 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.2735, allocations: 75.81 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2735, allocations: 3.938 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2735, allocations: 0 / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2735, allocations: 0 / 0.7891 GB, free: 10.11 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.0004966/0.274, allocations: 377.2 kB / 0.7894 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2741, allocations: 8.031 kB / 0.7894 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.531e-05/0.2742, allocations: 34.55 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2742, allocations: 7.906 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2744, allocations: 167 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2744, allocations: 4 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2744, allocations: 4 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2745, allocations: 41.67 kB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2745, allocations: 0 / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2746, allocations: 0 / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2746, allocations: 0 / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.2746, allocations: 11.88 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.275, allocations: 260.9 kB / 0.7899 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.73e-05/0.2751, allocations: 30.56 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.2752, allocations: 20.94 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.2752, allocations: 4 kB / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.2754, allocations: 59.34 kB / 0.7901 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.2754, allocations: 3.938 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002278/0.2756, allocations: 73.67 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2757, allocations: 51.41 kB / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.2758, allocations: 110.2 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.2758, allocations: 25.7 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.2758, allocations: 88.14 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2759, allocations: 3.906 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.2759, allocations: 4 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.276, allocations: 326.8 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.276, allocations: 8 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.2761, allocations: 43.34 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.2761, allocations: 12 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2761, allocations: 0 / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001253/0.2763, allocations: 77.52 kB / 0.7908 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2763, allocations: 8 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2763, allocations: 160 / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2763, allocations: 0 / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.2764, allocations: 12 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2764, allocations: 11.98 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.2765, allocations: 0 / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2765, allocations: 4.094 kB / 0.7909 GB, free: 8.004 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 9.24e-05/0.2766, allocations: 117.8 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.2766, allocations: 19.94 kB / 0.791 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.2766, allocations: 7.969 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2767, allocations: 0 / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2767, allocations: 0 / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2767, allocations: 4 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.277, allocations: 298.5 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.277, allocations: 4 kB / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.277, allocations: 0 / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.277, allocations: 0 / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2771, allocations: 8 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2771, allocations: 3.938 kB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2771, allocations: 0 / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.2772, allocations: 163.5 kB / 0.7915 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.2773, allocations: 84.95 kB / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2773, allocations: 7.938 kB / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.2774, allocations: 0 / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.2774, allocations: 7.922 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2774, allocations: 8 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.2775, allocations: 83.41 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2775, allocations: 0 / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003083/0.2778, allocations: 35.98 kB / 0.7917 GB, free: 7.062 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.0007267/0.2785, allocations: 0.7662 MB / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.2786, allocations: 35.92 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2787, allocations: 0 / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.2787, allocations: 16 kB / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.2789, allocations: 11.86 kB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.2796, allocations: 429.1 kB / 0.7929 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2799, allocations: 0.6801 MB / 0.7936 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.2799, allocations: 8 kB / 0.7936 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.28, allocations: 19.36 kB / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.28, allocations: 0 / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.2949, allocations: 1.844 MB / 0.7954 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.2951, allocations: 233.8 kB / 0.7956 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.165, allocations: 0 / 0.7956 GB, free: 3.066 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) Environment - environmentSimulation: