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 2.328/2.328, allocations: 252 MB / 267.3 MB, free: 10.86 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.001968/0.001969, allocations: 169 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.284/3.284, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0009863/0.0009861, allocations: 82.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006128/0.0006131, allocations: 10.44 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3669, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.00175/0.3687, allocations: 0.9579 MB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.37, allocations: 464.7 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.3701, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.3701, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.3702, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.3708, allocations: 83.78 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.968e-05/0.3709, allocations: 27.86 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.371, allocations: 0 / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.3711, allocations: 11.98 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.3711, allocations: 15.92 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3711, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.3715, allocations: 107.8 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.3715, allocations: 0 / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.3716, allocations: 41.62 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3718, allocations: 95.81 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3718, allocations: 0 / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3719, allocations: 4 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3719, allocations: 0 / 0.9027 GB, free: 61.6 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.0005245/0.3724, allocations: 381.5 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3725, allocations: 8.031 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.3726, allocations: 38.66 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.3726, allocations: 0.9375 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3727, allocations: 172.3 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3728, allocations: 384 / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3728, allocations: 8.375 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3729, allocations: 34.25 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.373, allocations: 3.938 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.373, allocations: 0 / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.373, allocations: 8 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.3731, allocations: 11.98 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.3735, allocations: 244.9 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.3736, allocations: 46.42 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.3737, allocations: 16.86 kB / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3737, allocations: 7.938 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.3739, allocations: 55.48 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.844e-06/0.3739, allocations: 0 / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.000295/0.3742, allocations: 77.62 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3743, allocations: 55.39 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.3744, allocations: 105.8 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3744, allocations: 25.7 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.3744, allocations: 92.12 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3745, allocations: 11.81 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.3745, allocations: 4 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.3745, allocations: 310.8 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.3746, allocations: 15.98 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.3747, allocations: 31.44 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.3747, allocations: 51.36 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3748, allocations: 7.938 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000145/0.3749, allocations: 65.62 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.375, allocations: 7.938 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.375, allocations: 7.984 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.375, allocations: 0 / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.3751, allocations: 11.94 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3751, allocations: 4.062 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.3752, allocations: 12.34 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3752, allocations: 0 / 0.9045 GB, free: 59.44 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.3753, allocations: 117.8 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.3753, allocations: 0 / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.3753, allocations: 15.95 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3753, allocations: 0 / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3753, allocations: 4 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3754, allocations: 0 / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.3756, allocations: 306.5 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3757, allocations: 0 / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.3757, allocations: 4 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3757, allocations: 0 / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3757, allocations: 0 / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3757, allocations: 4 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3757, allocations: 0 / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3759, allocations: 171.3 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.376, allocations: 81.2 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.376, allocations: 3.938 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.3761, allocations: 7.984 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.3761, allocations: 0 / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3762, allocations: 7.984 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.3762, allocations: 83.28 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3762, allocations: 0 / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004929/0.3767, allocations: 39.92 kB / 0.9053 GB, free: 58.51 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 (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.0007948/0.3775, allocations: 0.7781 MB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.3777, allocations: 35.92 kB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3777, allocations: 0 / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.009e-05/0.3778, allocations: 24.06 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3782, allocations: 5.484 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3796, allocations: 1.282 MB / 0.9074 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.3798, allocations: 0.6848 MB / 0.9081 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.3798, allocations: 4 kB / 0.9081 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.3799, allocations: 15.42 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.3799, allocations: 0 / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.398, allocations: 1.855 MB / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/0.3984, allocations: 270.7 kB / 0.9101 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.008, allocations: 0 / 0.9101 GB, free: 53.51 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)