Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.0009795/0.0009795, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00816/0.00816, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.59/1.59, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.688/1.688, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005402/0.0005404, allocations: 14.66 kB / 0.6744 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2308, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001334/0.2322, allocations: 0.9547 MB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.2331, allocations: 428.7 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.2331, allocations: 3.938 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.2332, allocations: 4 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.2332, allocations: 0 / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.2337, allocations: 87.78 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.2338, allocations: 23.86 kB / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.2338, allocations: 0 / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.2338, allocations: 7.984 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.2339, allocations: 11.94 kB / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2339, allocations: 0 / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.2341, allocations: 103.8 kB / 0.7896 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.2341, allocations: 4 kB / 0.7896 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.2342, allocations: 45.61 kB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.2344, allocations: 87.83 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2344, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2344, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2344, allocations: 0 / 0.7897 GB, free: 9.738 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.0004279/0.2348, allocations: 377.4 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2349, allocations: 8.031 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.235, allocations: 34.75 kB / 0.7901 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.235, allocations: 4.938 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.2351, allocations: 160.4 kB / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2351, allocations: 8.359 kB / 0.7903 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2351, allocations: 4.375 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2352, allocations: 42.19 kB / 0.7903 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2353, allocations: 3.938 kB / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.2353, allocations: 0 / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2353, allocations: 0 / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.132e-05/0.2353, allocations: 8 kB / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.2356, allocations: 256.9 kB / 0.7906 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.2357, allocations: 34.52 kB / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.2358, allocations: 28.86 kB / 0.7906 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.2358, allocations: 0 / 0.7906 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.2359, allocations: 59.41 kB / 0.7907 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2359, allocations: 0 / 0.7907 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000196/0.2361, allocations: 73.67 kB / 0.7907 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2362, allocations: 55.34 kB / 0.7908 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.2362, allocations: 105.8 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2363, allocations: 25.7 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.2363, allocations: 84.14 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.2363, allocations: 15.75 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.2364, allocations: 17.7 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2365, allocations: 318.8 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.2365, allocations: 11.94 kB / 0.7914 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.2365, allocations: 35.42 kB / 0.7914 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.2366, allocations: 43.38 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2366, allocations: 7.938 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001128/0.2367, allocations: 77.61 kB / 0.7915 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2367, allocations: 4 kB / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2368, allocations: 0 / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2368, allocations: 4 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.2368, allocations: 11.94 kB / 0.7915 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2368, allocations: 3.984 kB / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.2369, allocations: 3.906 kB / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.2369, allocations: 4 kB / 0.7915 GB, free: 7.578 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.756e-05/0.237, allocations: 121.8 kB / 0.7917 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.237, allocations: 0 / 0.7917 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.237, allocations: 3.562 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.237, allocations: 4 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.237, allocations: 256 / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.237, allocations: 0 / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.2373, allocations: 302.5 kB / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2373, allocations: 4 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.2373, allocations: 8 kB / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2373, allocations: 0 / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2373, allocations: 4.281 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2374, allocations: 3.984 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2374, allocations: 0 / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2375, allocations: 159.4 kB / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.2376, allocations: 81.09 kB / 0.7922 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2376, allocations: 4 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.2376, allocations: 11.98 kB / 0.7922 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.2377, allocations: 7.875 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2377, allocations: 4 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.2377, allocations: 75.28 kB / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2377, allocations: 0 / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002857/0.238, allocations: 39.92 kB / 0.7923 GB, free: 6.656 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.0006522/0.2387, allocations: 0.779 MB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.971e-05/0.2388, allocations: 31.92 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2388, allocations: 0 / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.983e-05/0.2388, allocations: 19.97 kB / 0.7931 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.239, allocations: 7.938 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.24, allocations: 1.271 MB / 0.7944 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2403, allocations: 0.677 MB / 0.7951 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.2403, allocations: 8 kB / 0.7951 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.2403, allocations: 11.44 kB / 0.7951 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2403, allocations: 0 / 0.7951 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.2516, allocations: 1.763 MB / 0.7968 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.2519, allocations: 239.1 kB / 0.797 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.885, allocations: 4.062 kB / 0.797 GB, free: 1.809 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)