Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 189.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.5775 GB, free: 20.34 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.001139, allocations: 94.31 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004637, allocations: 6.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001452/0.2818, allocations: 0.9571 MB / 0.9011 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.2827, allocations: 438.4 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.2827, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.2828, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.2828, allocations: 3.938 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.2833, allocations: 87.7 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.2834, allocations: 11.92 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.2835, allocations: 4 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.2835, allocations: 11.98 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.2836, allocations: 11.92 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2836, allocations: 4 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.2838, allocations: 75.92 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.2838, allocations: 3.984 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.2839, allocations: 37.64 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2841, allocations: 59.91 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2841, allocations: 0 / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2841, allocations: 0 / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2841, allocations: 0 / 0.9018 GB, free: 62.17 MB / 0.6042 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.000416/0.2845, allocations: 385.3 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2846, allocations: 8.031 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.729e-05/0.2847, allocations: 34.47 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.2847, allocations: 4 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.2848, allocations: 171 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2848, allocations: 7.984 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2849, allocations: 0 / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.285, allocations: 45.67 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.285, allocations: 3.938 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.285, allocations: 0 / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.285, allocations: 4 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.2851, allocations: 4 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.2854, allocations: 252.9 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.948e-05/0.2855, allocations: 30.58 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.2855, allocations: 0 / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.2857, allocations: 71.41 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.2857, allocations: 0 / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002349/0.286, allocations: 77.58 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.286, allocations: 51.41 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.2861, allocations: 109.8 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.2861, allocations: 25.7 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.2861, allocations: 88.14 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2862, allocations: 11.81 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.2862, allocations: 0 / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.2862, allocations: 326.8 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.2863, allocations: 7.938 kB / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.2863, allocations: 35.42 kB / 0.9035 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.2864, allocations: 16 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2864, allocations: 3.938 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001279/0.2865, allocations: 65.62 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2866, allocations: 4 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2866, allocations: 7.984 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2866, allocations: 0 / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.2867, allocations: 15.94 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2867, allocations: 0 / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.2867, allocations: 11.84 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2868, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 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.164e-05/0.2868, allocations: 121.9 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.2868, allocations: 4 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.2869, allocations: 7.953 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2869, allocations: 0 / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2869, allocations: 0 / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2869, allocations: 0 / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.2872, allocations: 307 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2872, allocations: 64 / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.2872, allocations: 12 kB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2872, allocations: 0 / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2872, allocations: 0 / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2873, allocations: 4 kB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2873, allocations: 96 / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2874, allocations: 175.3 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.2875, allocations: 77.11 kB / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.2875, allocations: 0 / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.2876, allocations: 8 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.2876, allocations: 0 / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.2876, allocations: 3.984 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.2877, allocations: 83.28 kB / 0.9043 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2877, allocations: 7.938 kB / 0.9044 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004554/0.2881, allocations: 31.98 kB / 0.9044 GB, free: 59.16 MB / 0.6042 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.0006511/0.2888, allocations: 0.7751 MB / 0.9051 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.289, allocations: 39.92 kB / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.289, allocations: 0 / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.289, allocations: 11.94 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.2892, allocations: 8 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.2899, allocations: 0.8172 MB / 0.906 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.2901, allocations: 0.6857 MB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.2901, allocations: 0 / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.2901, allocations: 15.44 kB / 0.9067 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2902, allocations: 0 / 0.9067 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.3049, allocations: 1.832 MB / 0.9085 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.3051, allocations: 237.5 kB / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.858, allocations: 2.812 kB / 0.9087 GB, free: 54.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)