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.001502/0.001502, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 187.1 kB / 16.62 MB, free: 6.582 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.489/1.489, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.768/1.768, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001461/0.001461, allocations: 77.67 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2698, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.003001/0.2728, allocations: 1.228 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009335/0.2738, allocations: 463.3 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.2738, allocations: 3.938 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.2739, allocations: 3.938 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.85e-05/0.2739, allocations: 4 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/logit1DQuadratic.mo:2:1-35:21:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1DQuadratic' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.2745, allocations: 119.6 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.2746, allocations: 19.98 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.2747, allocations: 0 / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.2747, allocations: 7.984 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.2747, allocations: 11.94 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2748, allocations: 0 / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.275, allocations: 103.8 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.275, allocations: 11.92 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.2751, allocations: 15.92 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2753, allocations: 91.81 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2753, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.487e-06/0.2753, allocations: 7.984 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2753, allocations: 0 / 0.7856 GB, free: 11.19 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.0005418/0.2758, allocations: 389.3 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2759, allocations: 12.03 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.276, allocations: 30.75 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.276, allocations: 4.844 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.2761, allocations: 164.4 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2762, allocations: 384 / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2762, allocations: 4.375 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2763, allocations: 54.17 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2763, allocations: 3.938 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2763, allocations: 0 / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2764, allocations: 3.984 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.2764, allocations: 7.938 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.2768, allocations: 252.9 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.2769, allocations: 38.52 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.277, allocations: 20.94 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.277, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.2772, allocations: 59.34 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.2772, allocations: 4 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002255/0.2774, allocations: 77.58 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.2775, allocations: 55.41 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.2776, allocations: 105.8 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.2776, allocations: 25.7 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.2776, allocations: 88.08 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.2777, allocations: 11.81 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.2777, allocations: 25.7 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2778, allocations: 314.8 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.2778, allocations: 11.98 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.913e-05/0.2779, allocations: 39.38 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.1e-05/0.278, allocations: 47.42 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.278, allocations: 3.938 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.854e-05/0.2781, allocations: 69.56 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2781, allocations: 12.06 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2781, allocations: 3.984 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2781, allocations: 0 / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.2782, allocations: 8 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2782, allocations: 4 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.2782, allocations: 0 / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2783, allocations: 4 kB / 0.7875 GB, free: 9.008 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 8.508e-05/0.2783, allocations: 117.7 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.2784, allocations: 7.906 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.2784, allocations: 15.95 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2784, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2784, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2784, allocations: 4 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.2787, allocations: 302.5 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2787, allocations: 4.5 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.2787, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2787, allocations: 4.094 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.2788, allocations: 7.984 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2788, allocations: 3.938 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2788, allocations: 4 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.2789, allocations: 167.4 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.279, allocations: 85.05 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.279, allocations: 0 / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/0.2791, allocations: 0 / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.2791, allocations: 0 / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.2791, allocations: 7.984 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.2792, allocations: 83.28 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2792, allocations: 7.938 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002878/0.2795, allocations: 43.92 kB / 0.7883 GB, free: 8.055 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.0007273/0.2802, allocations: 0.7626 MB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.2803, allocations: 36.23 kB / 0.7891 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2803, allocations: 0 / 0.7891 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.2804, allocations: 12 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.2806, allocations: 11.92 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.2818, allocations: 1.293 MB / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.282, allocations: 0.6838 MB / 0.7911 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.282, allocations: 4 kB / 0.7911 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.2821, allocations: 11.44 kB / 0.7911 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2821, allocations: 0 / 0.7911 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.3036, allocations: 2.076 MB / 0.7931 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.873, allocations: 1.5 kB / 0.7931 GB, free: 3.125 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)