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.0006734/0.0006734, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008901/0.001563, allocations: 449.7 kB / 10.37 MB, free: 328 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.001067/0.001067, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.00237, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.012/1.012, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09704/1.109, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.855/1.855, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.473/2.328, allocations: 127.1 MB / 0.7432 GB, free: 4.609 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.854e-06/1.854e-06, allocations: 0 / 0.7445 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.435e-05, allocations: 3.906 kB / 0.7445 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004333/0.004357, allocations: 2.588 MB / 0.747 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.006753, allocations: 1.277 MB / 0.7482 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.006961, allocations: 7.938 kB / 0.7482 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.007442, allocations: 115.4 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.007937, allocations: 205.5 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.008409, allocations: 156 kB / 0.7487 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.008937, allocations: 358.7 kB / 0.749 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.009295, allocations: 184.6 kB / 0.7492 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.009705, allocations: 207.5 kB / 0.7494 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.01, allocations: 163.6 kB / 0.7496 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.01003, allocations: 22.44 kB / 0.7496 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.01029, allocations: 167.5 kB / 0.7498 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.01038, allocations: 103.7 kB / 0.7499 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.01045, allocations: 71.88 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.01078, allocations: 275 kB / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.01079, allocations: 0 / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01079, allocations: 0 / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.01081, allocations: 1.062 kB / 0.7502 GB, free: 13.5 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.0006229/0.01143, allocations: 0.5006 MB / 0.7507 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.01146, allocations: 12.03 kB / 0.7507 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.01194, allocations: 190.4 kB / 0.7509 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.01217, allocations: 191.6 kB / 0.751 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.01218, allocations: 16.86 kB / 0.7511 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.01225, allocations: 24.56 kB / 0.7511 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.01252, allocations: 279.7 kB / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01253, allocations: 1.312 kB / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.01255, allocations: 12.11 kB / 0.7514 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/0.01261, allocations: 36.47 kB / 0.7514 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01273, allocations: 84.39 kB / 0.7515 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.01353, allocations: 0.8396 MB / 0.7523 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.01372, allocations: 157 kB / 0.7525 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.01376, allocations: 43.44 kB / 0.7525 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.41e-05/0.01382, allocations: 8.688 kB / 0.7525 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.01385, allocations: 36.28 kB / 0.7525 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.01385, allocations: 0 / 0.7525 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0005551/0.0144, allocations: 363.1 kB / 0.7529 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.01443, allocations: 56.22 kB / 0.7529 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.01454, allocations: 174.5 kB / 0.7531 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.01456, allocations: 30.2 kB / 0.7531 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.01463, allocations: 165.1 kB / 0.7533 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.01467, allocations: 79.28 kB / 0.7534 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.01473, allocations: 48.88 kB / 0.7534 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.01482, allocations: 334.8 kB / 0.7537 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.01486, allocations: 24 kB / 0.7538 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.01493, allocations: 85.95 kB / 0.7538 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.01506, allocations: 142.4 kB / 0.754 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01507, allocations: 0 / 0.754 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002929/0.01536, allocations: 206.7 kB / 0.7542 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01537, allocations: 4 kB / 0.7542 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01538, allocations: 4 kB / 0.7542 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/0.0157, allocations: 95.55 kB / 0.7543 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.01583, allocations: 53.78 kB / 0.7543 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009297/0.01676, allocations: 1.353 MB / 0.7556 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.851e-05/0.01685, allocations: 4 kB / 0.7556 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.01686, allocations: 8 kB / 0.7557 GB, free: 7.547 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 9.115e-05/0.01695, allocations: 125.4 kB / 0.7558 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.01698, allocations: 16.52 kB / 0.7558 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.01717, allocations: 146.1 kB / 0.7559 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01717, allocations: 4.875 kB / 0.7559 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.01717, allocations: 3.984 kB / 0.7559 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01718, allocations: 0 / 0.7559 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.01756, allocations: 416.2 kB / 0.7563 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01757, allocations: 192 / 0.7563 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.01776, allocations: 72.53 kB / 0.7564 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.0178, allocations: 36.94 kB / 0.7564 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.0178, allocations: 4 kB / 0.7564 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.01782, allocations: 4 kB / 0.7564 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01782, allocations: 4.938 kB / 0.7564 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01782, allocations: 0 / 0.7564 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.01805, allocations: 308.7 kB / 0.7567 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.01807, allocations: 4 kB / 0.7567 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.01814, allocations: 8.969 kB / 0.7568 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.01816, allocations: 15.91 kB / 0.7568 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01817, allocations: 4 kB / 0.7568 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.01821, allocations: 46.91 kB / 0.7568 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01821, allocations: 0 / 0.7568 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002179/0.01842, allocations: 68.94 kB / 0.7569 GB, free: 6.223 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 0.0001439/0.01857, allocations: 93.06 kB / 0.757 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.01891, allocations: 265.1 kB / 0.7572 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.01892, allocations: 4 kB / 0.7572 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.01897, allocations: 57.75 kB / 0.7573 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.01918, allocations: 61.58 kB / 0.7573 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.0215, allocations: 0.5285 MB / 0.7579 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.393e-05/0.02156, allocations: 105.2 kB / 0.758 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.475e-05/0.02165, allocations: 23.05 kB / 0.758 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.02175, allocations: 83.34 kB / 0.7581 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of SimCode: time 6.82e-07/0.02175, allocations: 0 / 0.7581 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of Templates: time 0.004725/0.02648, allocations: 3.024 MB / 0.761 GB, free: 2.059 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.825346604920924]