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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001653/0.001653, allocations: 195.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 222 MB, free: 4.98 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.723/1.723, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001441/0.001441, allocations: 62.16 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2197, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002215/0.222, allocations: 1.286 MB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.2228, allocations: 472.4 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.2229, allocations: 4 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.2229, allocations: 4 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.809e-05/0.2229, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.2234, allocations: 91.72 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.657e-05/0.2234, allocations: 15.98 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.2235, allocations: 4 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.2235, allocations: 4 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.2236, allocations: 19.91 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2236, allocations: 0 / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.2238, allocations: 99.84 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.2238, allocations: 11.92 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.2238, allocations: 11.94 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.224, allocations: 99.8 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.224, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.91e-07/0.224, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.224, allocations: 0 / 0.7848 GB, free: 11.82 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.0004426/0.2245, allocations: 389.4 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2245, allocations: 8.031 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.2246, allocations: 30.75 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.2246, allocations: 12.84 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2247, allocations: 172.3 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2247, allocations: 4.375 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2248, allocations: 384 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2249, allocations: 42.25 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2249, allocations: 7.875 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2249, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2249, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.2249, allocations: 7.984 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.2253, allocations: 256.9 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.563e-05/0.2253, allocations: 38.5 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.2254, allocations: 16.86 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.2254, allocations: 0 / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.2255, allocations: 67.39 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2255, allocations: 0 / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002065/0.2258, allocations: 73.62 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2258, allocations: 55.39 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.2259, allocations: 101.9 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2259, allocations: 29.64 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.2259, allocations: 92.12 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.226, allocations: 11.8 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.226, allocations: 25.72 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2261, allocations: 322.8 kB / 0.7865 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.2262, allocations: 4 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.2262, allocations: 35.42 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.2263, allocations: 55.36 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.2263, allocations: 3.938 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001116/0.2264, allocations: 81.55 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2264, allocations: 4 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2264, allocations: 160 / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2264, allocations: 4 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.2265, allocations: 4 kB / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2265, allocations: 7.984 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.2265, allocations: 7.891 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2266, allocations: 8.062 kB / 0.7867 GB, free: 9.613 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 (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 6.574e-05/0.2266, allocations: 117.8 kB / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.2266, allocations: 0 / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.2267, allocations: 4.469 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2267, allocations: 4 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2267, allocations: 3.938 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2267, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.2269, allocations: 306.6 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.227, allocations: 4 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.227, allocations: 7.938 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.227, allocations: 0 / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.227, allocations: 3.984 kB / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.227, allocations: 0 / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.227, allocations: 0 / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.2272, allocations: 171.3 kB / 0.7873 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.2272, allocations: 81.05 kB / 0.7874 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2272, allocations: 3.984 kB / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.2273, allocations: 4 kB / 0.7874 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.2273, allocations: 4 kB / 0.7874 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2273, allocations: 0 / 0.7874 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.2274, allocations: 91.2 kB / 0.7875 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2274, allocations: 0 / 0.7875 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002811/0.2277, allocations: 35.94 kB / 0.7875 GB, free: 8.684 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 (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.0006572/0.2283, allocations: 0.7775 MB / 0.7883 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.2284, allocations: 31.98 kB / 0.7883 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2284, allocations: 0 / 0.7883 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.2285, allocations: 19.92 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.2287, allocations: 4.125 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2297, allocations: 1.297 MB / 0.7896 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.23, allocations: 0.6809 MB / 0.7903 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.23, allocations: 4 kB / 0.7903 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.23, allocations: 15.44 kB / 0.7903 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2301, allocations: 0 / 0.7903 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.2407, allocations: 1.921 MB / 0.7922 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.2409, allocations: 251.8 kB / 0.7924 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.04, allocations: 3.938 kB / 0.7924 GB, free: 3.641 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/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)