Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001578/0.001578, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001409/0.001409, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002507/0.002507, allocations: 243.2 kB / 259.4 MB, free: 440 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.092/1.092, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.589e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004802/0.004828, allocations: 3.058 MB / 0.6498 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.007777, allocations: 1.679 MB / 0.6514 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.007878, allocations: 4 kB / 0.6514 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.2476/0.2554, allocations: 320.8 kB / 0.6517 GB, free: 53.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.2561, allocations: 220.3 kB / 0.6519 GB, free: 53.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2565, allocations: 187.7 kB / 0.6521 GB, free: 53.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.2568, allocations: 324.6 kB / 0.6524 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.2571, allocations: 171.6 kB / 0.6526 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.2574, allocations: 204 kB / 0.6528 GB, free: 53.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.2576, allocations: 144.1 kB / 0.6529 GB, free: 53.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.2576, allocations: 25.5 kB / 0.6529 GB, free: 53.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.2579, allocations: 221.9 kB / 0.6532 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.258, allocations: 110 kB / 0.6533 GB, free: 53.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.343e-05/0.2581, allocations: 87.5 kB / 0.6533 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.2585, allocations: 445.1 kB / 0.6538 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2585, allocations: 0.625 kB / 0.6538 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2585, allocations: 1.594 kB / 0.6538 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2585, allocations: 0 / 0.6538 GB, free: 53.32 MB / 0.5606 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.0007418/0.2592, allocations: 481.4 kB / 0.6542 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.2593, allocations: 14.44 kB / 0.6542 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/0.26, allocations: 99.09 kB / 0.6543 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2602, allocations: 196.9 kB / 0.6545 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2603, allocations: 16.94 kB / 0.6545 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.2604, allocations: 24.34 kB / 0.6546 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.2608, allocations: 426.4 kB / 0.655 GB, free: 52.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2608, allocations: 2.25 kB / 0.655 GB, free: 52.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.2609, allocations: 11.69 kB / 0.655 GB, free: 52.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.033e-05/0.261, allocations: 34.28 kB / 0.655 GB, free: 52.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.2613, allocations: 307.1 kB / 0.6553 GB, free: 52.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.2625, allocations: 1.034 MB / 0.6563 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.2629, allocations: 210 kB / 0.6565 GB, free: 52.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.263, allocations: 105.2 kB / 0.6566 GB, free: 52.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.286e-05/0.2631, allocations: 8.562 kB / 0.6566 GB, free: 52.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2631, allocations: 42 kB / 0.6567 GB, free: 52.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.2631, allocations: 2.906 kB / 0.6567 GB, free: 52.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.000996/0.2641, allocations: 0.7284 MB / 0.6574 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.2642, allocations: 54.69 kB / 0.6574 GB, free: 51.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.2643, allocations: 188.5 kB / 0.6576 GB, free: 51.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2643, allocations: 26.39 kB / 0.6576 GB, free: 51.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.2644, allocations: 175.4 kB / 0.6578 GB, free: 51.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.2644, allocations: 64.91 kB / 0.6579 GB, free: 51.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.2645, allocations: 67.52 kB / 0.6579 GB, free: 51.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.2645, allocations: 321.6 kB / 0.6582 GB, free: 51.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2646, allocations: 114.9 kB / 0.6583 GB, free: 51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.2648, allocations: 173.8 kB / 0.6585 GB, free: 50.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.2651, allocations: 291.1 kB / 0.6588 GB, free: 50.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2651, allocations: 0 / 0.6588 GB, free: 50.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006288/0.2657, allocations: 421.2 kB / 0.6592 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2657, allocations: 10.56 kB / 0.6592 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2658, allocations: 0 / 0.6592 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.2661, allocations: 98.8 kB / 0.6593 GB, free: 50.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.2664, allocations: 49.55 kB / 0.6593 GB, free: 50.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.2677, allocations: 1.743 MB / 0.661 GB, free: 49.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.268, allocations: 15.8 kB / 0.6611 GB, free: 49.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.268, allocations: 16.66 kB / 0.6611 GB, free: 49.15 MB / 0.5606 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 0.0001061/0.2681, allocations: 153.6 kB / 0.6612 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.2681, allocations: 23.41 kB / 0.6612 GB, free: 49.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.2685, allocations: 295.4 kB / 0.6615 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2685, allocations: 3.375 kB / 0.6615 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2685, allocations: 3.062 kB / 0.6615 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2685, allocations: 1.922 kB / 0.6615 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.2692, allocations: 0.6114 MB / 0.6621 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2692, allocations: 3.5 kB / 0.6621 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.2695, allocations: 59.09 kB / 0.6622 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2695, allocations: 3.156 kB / 0.6622 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2695, allocations: 6.5 kB / 0.6622 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2695, allocations: 0 / 0.6622 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2695, allocations: 3.156 kB / 0.6622 GB, free: 48.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.27, allocations: 0.512 MB / 0.6627 GB, free: 48.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.27, allocations: 37.86 kB / 0.6627 GB, free: 48.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.2701, allocations: 3.438 kB / 0.6627 GB, free: 48.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.2702, allocations: 17.3 kB / 0.6628 GB, free: 48.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.2703, allocations: 12.41 kB / 0.6628 GB, free: 48.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.2703, allocations: 6.844 kB / 0.6628 GB, free: 48.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.391e-05/0.2704, allocations: 147.2 kB / 0.6629 GB, free: 48.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2704, allocations: 3.844 kB / 0.6629 GB, free: 48.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003352/0.2707, allocations: 68.62 kB / 0.663 GB, free: 48.07 MB / 0.5606 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.0001109/0.2708, allocations: 105.2 kB / 0.6631 GB, free: 47.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005751/0.2714, allocations: 415.4 kB / 0.6635 GB, free: 47.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2714, allocations: 6.938 kB / 0.6635 GB, free: 47.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.2715, allocations: 107.4 kB / 0.6636 GB, free: 47.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2719, allocations: 36.56 kB / 0.6636 GB, free: 47.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.2728, allocations: 0.5737 MB / 0.6642 GB, free: 47.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.2729, allocations: 164 kB / 0.6643 GB, free: 47.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.273, allocations: 52.73 kB / 0.6644 GB, free: 47.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.2731, allocations: 26.92 kB / 0.6644 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.2731, allocations: 3.094 kB / 0.6644 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.005538/0.2786, allocations: 2.765 MB / 0.6671 GB, free: 47.1 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.787186987698078] Failed to read output from testmodel.py, exit status != 0: 0.28629256784915924 0.29773687800000004 0.036595179000000005 Calling exit ...