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.393/1.393, allocations: 251.5 MB / 266.7 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.001094/0.001094, allocations: 173.9 kB / 325.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205 MB / 0.576 GB, free: 21.02 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.000739/0.0007391, allocations: 93.69 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003075, allocations: 8.938 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1608, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001069/0.1619, allocations: 0.9705 MB / 0.8971 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.1627, allocations: 477 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.1627, allocations: 0 / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.1627, allocations: 0 / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.1628, allocations: 0 / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.1632, allocations: 91.78 kB / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.398e-05/0.1633, allocations: 19.92 kB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.1633, allocations: 288 / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.1633, allocations: 11.94 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.491e-05/0.1634, allocations: 15.86 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1634, allocations: 8 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1636, allocations: 99.83 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.1636, allocations: 7.984 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.1636, allocations: 11.94 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.1638, allocations: 103.7 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1638, allocations: 0 / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1638, allocations: 0 / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.1638, allocations: 0 / 0.8979 GB, free: 66.31 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.0003451/0.1642, allocations: 369.3 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1642, allocations: 12.03 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.1643, allocations: 38.66 kB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.1643, allocations: 4.938 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.149e-05/0.1644, allocations: 176.3 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1644, allocations: 384 / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1644, allocations: 12.3 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.842e-05/0.1645, allocations: 38.25 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1645, allocations: 7.938 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1645, allocations: 0 / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1645, allocations: 0 / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.1646, allocations: 4 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.1648, allocations: 256.9 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.1649, allocations: 38.45 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.1649, allocations: 16.94 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.165, allocations: 3.984 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.1651, allocations: 63.41 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.1651, allocations: 0 / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001709/0.1653, allocations: 73.61 kB / 0.899 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.1653, allocations: 51.41 kB / 0.8991 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.792e-05/0.1653, allocations: 109.8 kB / 0.8992 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.1654, allocations: 25.7 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.1654, allocations: 84.14 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.1654, allocations: 19.8 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.1654, allocations: 13.72 kB / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.1655, allocations: 314.8 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.1655, allocations: 11.98 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.1655, allocations: 31.42 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.1656, allocations: 59.36 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1656, allocations: 3.938 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.388e-05/0.1657, allocations: 73.56 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1657, allocations: 4 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1657, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1657, allocations: 11.92 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.1658, allocations: 4 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1658, allocations: 4 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.1658, allocations: 7.969 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1658, allocations: 4 kB / 0.8998 GB, free: 64.13 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 4.923e-05/0.1659, allocations: 121.7 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.1659, allocations: 0 / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.1659, allocations: 7.953 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1659, allocations: 4 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.166, allocations: 4.438 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.166, allocations: 0 / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1661, allocations: 318.5 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1661, allocations: 0 / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.1662, allocations: 4 kB / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1662, allocations: 0 / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1662, allocations: 0 / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1662, allocations: 0 / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1662, allocations: 0 / 0.9002 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.1663, allocations: 175.3 kB / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.1663, allocations: 77.11 kB / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1664, allocations: 4 kB / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.1664, allocations: 0 / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.1664, allocations: 4 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1664, allocations: 3.984 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.947e-05/0.1665, allocations: 83.28 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1665, allocations: 0 / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002604/0.1667, allocations: 39.92 kB / 0.9006 GB, free: 63.2 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.0004612/0.1672, allocations: 0.7805 MB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.655e-05/0.1673, allocations: 31.98 kB / 0.9014 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1673, allocations: 0 / 0.9014 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.1673, allocations: 15.94 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1675, allocations: 12.06 kB / 0.9014 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.1683, allocations: 1.286 MB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.264e-05/0.1684, allocations: 0.6853 MB / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.1684, allocations: 0 / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.1684, allocations: 19.42 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.1684, allocations: 0 / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.179, allocations: 1.844 MB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.1791, allocations: 261.3 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.745, allocations: 0 / 0.9054 GB, free: 58.21 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)