Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001026/0.001026, allocations: 172.9 kB / 326.5 MB, free: 2.672 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.8/1.8, allocations: 205 MB / 0.5766 GB, free: 20.94 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.0007731/0.0007731, allocations: 87.98 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 9.531 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001481/0.248, allocations: 0.9474 MB / 0.8977 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008552/0.2489, allocations: 469 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.249, allocations: 0 / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.249, allocations: 3.938 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.249, allocations: 0 / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.2495, allocations: 91.77 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.2496, allocations: 19.98 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.2496, allocations: 4 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.2497, allocations: 15.88 kB / 0.8982 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.2497, allocations: 11.92 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2497, allocations: 3.938 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.2499, allocations: 103.9 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.25, allocations: 7.984 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.25, allocations: 15.92 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2501, allocations: 64.12 kB / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2502, allocations: 0 / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2502, allocations: 0 / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2502, allocations: 0 / 0.8984 GB, free: 66.4 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004305/0.2506, allocations: 385.1 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2507, allocations: 8.031 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2507, allocations: 8.844 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.2508, allocations: 168.3 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.2508, allocations: 384 / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2509, allocations: 8.359 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.251, allocations: 42.25 kB / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.251, allocations: 192 / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.251, allocations: 7.938 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.251, allocations: 0 / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.399e-05/0.2511, allocations: 4 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.2512, allocations: 165.6 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.2513, allocations: 30.52 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.2513, allocations: 16.94 kB / 0.8992 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2513, allocations: 4 kB / 0.8992 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.2515, allocations: 55.41 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.094e-06/0.2515, allocations: 3.984 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002094/0.2517, allocations: 85.45 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.2517, allocations: 55.41 kB / 0.8994 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.2518, allocations: 106.1 kB / 0.8995 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2518, allocations: 29.7 kB / 0.8996 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.2519, allocations: 84.14 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.2519, allocations: 7.906 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.2519, allocations: 17.72 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.252, allocations: 314.8 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.252, allocations: 12 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.252, allocations: 40.28 kB / 0.9 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.623e-05/0.2521, allocations: 52.23 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2521, allocations: 4 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.273e-05/0.2522, allocations: 77.45 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2522, allocations: 11.94 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2522, allocations: 0 / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2523, allocations: 4.125 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.2523, allocations: 8 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.2523, allocations: 11.88 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.2524, allocations: 3.938 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.2524, allocations: 4 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * 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 5.855e-05/0.2525, allocations: 117.8 kB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.2525, allocations: 7.844 kB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.2525, allocations: 7.562 kB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2525, allocations: 8 kB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2525, allocations: 0 / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2525, allocations: 0 / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.274e-05/0.2526, allocations: 157.6 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2526, allocations: 0 / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.2527, allocations: 7.984 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2527, allocations: 3.938 kB / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2527, allocations: 0 / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2527, allocations: 4.156 kB / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2527, allocations: 0 / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2528, allocations: 97.05 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.2528, allocations: 81.02 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2529, allocations: 3.938 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.2529, allocations: 4 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.2529, allocations: 0 / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.2529, allocations: 320 / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.253, allocations: 91.27 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.253, allocations: 4 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002499/0.2532, allocations: 28 kB / 0.9008 GB, free: 63.63 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,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.0003288/0.2536, allocations: 176.7 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.2537, allocations: 27.94 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2537, allocations: 0 / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.2537, allocations: 23.86 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2539, allocations: 12.25 kB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.2542, allocations: 144.4 kB / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2543, allocations: 0.6775 MB / 0.9018 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.2543, allocations: 15.42 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of SimCode: time 7.02e-07/0.2544, allocations: 0 / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.002699/0.2571, allocations: 1.261 MB / 0.9031 GB, free: 61.24 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)