Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007141/0.0007141, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009747/0.001689, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006735/0.0006735, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008543/0.001528, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9522/0.9522, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09067/1.043, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.861/1.861, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4375/2.298, allocations: 127.1 MB / 0.7435 GB, free: 4.555 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.214e-05, allocations: 9.734 kB / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002532/0.002544, allocations: 2.586 MB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003894, allocations: 1.277 MB / 0.7486 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.003983, allocations: 7.938 kB / 0.7486 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.004278, allocations: 109.9 kB / 0.7487 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.004493, allocations: 208 kB / 0.7489 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.004713, allocations: 159.8 kB / 0.749 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.004976, allocations: 362.7 kB / 0.7494 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.005186, allocations: 174.2 kB / 0.7495 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.005387, allocations: 211.5 kB / 0.7497 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.005598, allocations: 163.6 kB / 0.7499 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.005623, allocations: 20 kB / 0.7499 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.005814, allocations: 167.5 kB / 0.7501 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.005889, allocations: 100.4 kB / 0.7502 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.005947, allocations: 67.88 kB / 0.7502 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.006464, allocations: 279.8 kB / 0.7505 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.006475, allocations: 0 / 0.7505 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.006475, allocations: 0.6562 kB / 0.7505 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.006485, allocations: 0 / 0.7505 GB, free: 13.44 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005421/0.007027, allocations: 0.5007 MB / 0.751 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.007059, allocations: 13.53 kB / 0.751 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/0.007486, allocations: 197.8 kB / 0.7512 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.007661, allocations: 184.4 kB / 0.7514 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.007677, allocations: 16.88 kB / 0.7514 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.007735, allocations: 29.39 kB / 0.7514 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.007979, allocations: 283.7 kB / 0.7517 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.007988, allocations: 0.8438 kB / 0.7517 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.008007, allocations: 12.12 kB / 0.7517 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.566e-05/0.008062, allocations: 25.23 kB / 0.7517 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.008174, allocations: 84.92 kB / 0.7518 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.008857, allocations: 0.8513 MB / 0.7526 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.009026, allocations: 152.7 kB / 0.7528 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.009063, allocations: 32.8 kB / 0.7528 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.519e-05/0.009118, allocations: 16.8 kB / 0.7528 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.009136, allocations: 35.06 kB / 0.7529 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.009137, allocations: 0 / 0.7529 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0004921/0.009629, allocations: 370.5 kB / 0.7532 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.009652, allocations: 55.41 kB / 0.7533 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.009741, allocations: 170.5 kB / 0.7534 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.009757, allocations: 33.7 kB / 0.7535 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.009813, allocations: 164.5 kB / 0.7536 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.009848, allocations: 71.31 kB / 0.7537 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.009903, allocations: 53.66 kB / 0.7537 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.009972, allocations: 333.5 kB / 0.7541 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.01001, allocations: 27.98 kB / 0.7541 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.01008, allocations: 85.91 kB / 0.7542 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.0102, allocations: 142.2 kB / 0.7543 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.0102, allocations: 0 / 0.7543 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002498/0.01045, allocations: 206.7 kB / 0.7545 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.01046, allocations: 8 kB / 0.7545 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.01047, allocations: 0 / 0.7545 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/0.01079, allocations: 116.4 kB / 0.7546 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01091, allocations: 48.55 kB / 0.7547 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008103/0.01172, allocations: 1.35 MB / 0.756 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.01179, allocations: 13.25 kB / 0.756 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.0118, allocations: 4 kB / 0.756 GB, free: 7.449 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.01187, allocations: 126.1 kB / 0.7561 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.0119, allocations: 19.98 kB / 0.7561 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.01207, allocations: 145.7 kB / 0.7563 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01207, allocations: 8.844 kB / 0.7563 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.01207, allocations: 0 / 0.7563 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01208, allocations: 4 kB / 0.7563 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.01241, allocations: 408 kB / 0.7567 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.01241, allocations: 4.531 kB / 0.7567 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.0126, allocations: 68.53 kB / 0.7567 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.01263, allocations: 33.09 kB / 0.7568 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01264, allocations: 0 / 0.7568 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01265, allocations: 8 kB / 0.7568 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01265, allocations: 5.312 kB / 0.7568 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01265, allocations: 4 kB / 0.7568 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.01285, allocations: 310.1 kB / 0.7571 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01287, allocations: 5.625 kB / 0.7571 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.01294, allocations: 11.94 kB / 0.7571 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.01296, allocations: 11.97 kB / 0.7571 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.01297, allocations: 8 kB / 0.7571 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002912/0.01326, allocations: 43.16 kB / 0.7572 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01326, allocations: 0 / 0.7572 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001855/0.01345, allocations: 68 kB / 0.7572 GB, free: 6.125 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 9.865e-05/0.01355, allocations: 89.39 kB / 0.7573 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.01383, allocations: 278.8 kB / 0.7576 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.01384, allocations: 1.281 kB / 0.7576 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.01391, allocations: 64.77 kB / 0.7576 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.01417, allocations: 256.2 kB / 0.7579 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.01629, allocations: 0.5262 MB / 0.7584 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.01635, allocations: 100.3 kB / 0.7585 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.709e-05/0.01641, allocations: 16.98 kB / 0.7585 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.01652, allocations: 91.33 kB / 0.7586 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.01652, allocations: 0.9375 kB / 0.7586 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of Templates: time 0.00424/0.02076, allocations: 3.062 MB / 0.7616 GB, free: 1.684 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.73009276855737]