Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.743/2.743, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001518/0.001518, allocations: 184.8 kB / 370.8 MB, free: 10.87 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.171/2.171, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001134/0.001133, allocations: 97.59 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008035/0.0008034, allocations: 11.69 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2662, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002003/0.2683, allocations: 0.9453 MB / 0.9792 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2697, allocations: 406.5 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.2699, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.2699, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.27, allocations: 3.938 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.2707, allocations: 79.78 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.2708, allocations: 11.94 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.696e-05/0.2709, allocations: 7.969 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.271, allocations: 11.94 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.271, allocations: 11.98 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.271, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.2714, allocations: 75.86 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.2714, allocations: 4 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.2715, allocations: 29.7 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.2717, allocations: 63.89 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2717, allocations: 0 / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2718, allocations: 0 / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2718, allocations: 0 / 0.9799 GB, free: 26.66 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.000567/0.2724, allocations: 383.1 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.2724, allocations: 12.02 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.456e-05/0.2725, allocations: 34.56 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.2726, allocations: 0 / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2727, allocations: 175 kB / 0.9804 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.2728, allocations: 4 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.2728, allocations: 0 / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.273, allocations: 37.69 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.273, allocations: 0 / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.273, allocations: 8 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2731, allocations: 3.938 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.2731, allocations: 7.984 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.2736, allocations: 252.8 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.2738, allocations: 38.5 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.2738, allocations: 0 / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.274, allocations: 59.5 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/0.274, allocations: 4 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003444/0.2744, allocations: 69.61 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2745, allocations: 55.41 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.2746, allocations: 101.8 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2746, allocations: 29.7 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.2746, allocations: 84.14 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2747, allocations: 15.75 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.2747, allocations: 4 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.2748, allocations: 314.8 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.2749, allocations: 15.98 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.275, allocations: 31.44 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.275, allocations: 15.98 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2751, allocations: 0 / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002123/0.2753, allocations: 77.73 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2753, allocations: 9.5 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2754, allocations: 160 / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.2754, allocations: 4 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.2756, allocations: 11.98 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2756, allocations: 3.984 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.2757, allocations: 3.906 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2757, allocations: 8.062 kB / 0.9817 GB, free: 24.58 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 0.0001528/0.2759, allocations: 121.7 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.276, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.2761, allocations: 3.562 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.2761, allocations: 7.984 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.2762, allocations: 256 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2762, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008637/0.2771, allocations: 298.6 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.2772, allocations: 8 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.2773, allocations: 3.984 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.2773, allocations: 0 / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.2774, allocations: 4 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/0.2775, allocations: 3.938 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2775, allocations: 3.938 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.2777, allocations: 159.5 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.2778, allocations: 85 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.2778, allocations: 0 / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.278, allocations: 8 kB / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.2781, allocations: 0 / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.2781, allocations: 0 / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.162e-05/0.2782, allocations: 83.27 kB / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.152e-06/0.2783, allocations: 0 / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001251/0.2795, allocations: 32 kB / 0.9824 GB, free: 23.68 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.0009117/0.2805, allocations: 0.775 MB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.2807, allocations: 31.92 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2807, allocations: 0 / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.2807, allocations: 19.98 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.2809, allocations: 4.125 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.2816, allocations: 0.8055 MB / 0.984 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.2818, allocations: 0.6886 MB / 0.9847 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.2818, allocations: 4.25 kB / 0.9847 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.2819, allocations: 11.44 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.173e-06/0.2819, allocations: 0 / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.3081, allocations: 1.752 MB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.3085, allocations: 227.5 kB / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/2.819, allocations: 0 / 0.9867 GB, free: 19.37 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)