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.001273/0.001273, allocations: 85.45 kB / 21.62 MB, free: 2.84 MB / 18.57 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.001398/0.001398, allocations: 171.7 kB / 25.05 MB, free: 9.195 MB / 18.57 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.9434/0.9434, allocations: 177.1 MB / 205.5 MB, free: 5.465 MB / 186.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.82/1.82, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 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.182e-06/1.182e-06, allocations: 0 / 0.7761 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.942e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003234/0.003254, allocations: 2.548 MB / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.004935, allocations: 1.263 MB / 0.7799 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.005039, allocations: 7.938 kB / 0.7799 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.005417, allocations: 87.52 kB / 0.7799 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.005661, allocations: 184.3 kB / 0.7801 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.005898, allocations: 157.3 kB / 0.7803 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.006146, allocations: 322.9 kB / 0.7806 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.006378, allocations: 198.8 kB / 0.7808 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.006587, allocations: 195.5 kB / 0.781 GB, free: 416 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.006795, allocations: 144.2 kB / 0.7811 GB, free: 272 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.006823, allocations: 23.66 kB / 0.7811 GB, free: 252 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.007016, allocations: 167.6 kB / 0.7813 GB, free: 84 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.992e-05/0.007106, allocations: 107.7 kB / 0.7814 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.007176, allocations: 87.83 kB / 0.7815 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.007479, allocations: 295 kB / 0.7817 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.007481, allocations: 0 / 0.7817 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.007481, allocations: 0 / 0.7817 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.007486, allocations: 0 / 0.7817 GB, free: 15.6 MB / 0.7448 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.0005499/0.008036, allocations: 455.2 kB / 0.7822 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.008072, allocations: 9.344 kB / 0.7822 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.008512, allocations: 116.6 kB / 0.7823 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.008695, allocations: 188.2 kB / 0.7825 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.008708, allocations: 16.86 kB / 0.7825 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.008775, allocations: 25.28 kB / 0.7825 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.009038, allocations: 283.7 kB / 0.7828 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.009048, allocations: 5.719 kB / 0.7828 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.009069, allocations: 16.11 kB / 0.7828 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/0.009126, allocations: 28.48 kB / 0.7828 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.009239, allocations: 84.2 kB / 0.7829 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.01026, allocations: 0.8471 MB / 0.7837 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.01043, allocations: 148.8 kB / 0.7839 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.01048, allocations: 38.03 kB / 0.7839 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.988e-05/0.01054, allocations: 8 kB / 0.7839 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.01056, allocations: 42.55 kB / 0.784 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.01056, allocations: 1.469 kB / 0.784 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005332/0.01109, allocations: 356.5 kB / 0.7843 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.01112, allocations: 55.41 kB / 0.7844 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.01121, allocations: 179.5 kB / 0.7845 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.01123, allocations: 29.7 kB / 0.7846 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.01129, allocations: 160.5 kB / 0.7847 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.01133, allocations: 79.84 kB / 0.7848 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.01138, allocations: 45.69 kB / 0.7848 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.01145, allocations: 331.3 kB / 0.7851 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.01149, allocations: 28.86 kB / 0.7852 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.01156, allocations: 83.3 kB / 0.7853 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01169, allocations: 146.2 kB / 0.7854 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01169, allocations: 0 / 0.7854 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002793/0.01197, allocations: 207.8 kB / 0.7856 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.01198, allocations: 6.719 kB / 0.7856 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01199, allocations: 4 kB / 0.7856 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.0123, allocations: 102.3 kB / 0.7857 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01241, allocations: 44.86 kB / 0.7857 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008707/0.01328, allocations: 1.346 MB / 0.7871 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.01336, allocations: 8 kB / 0.7871 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.01337, allocations: 9.031 kB / 0.7871 GB, free: 9.805 MB / 0.7448 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 8.127e-05/0.01345, allocations: 121.3 kB / 0.7872 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.01348, allocations: 19.98 kB / 0.7872 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.01365, allocations: 153.3 kB / 0.7874 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.01366, allocations: 0 / 0.7874 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01366, allocations: 1.562 kB / 0.7874 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01366, allocations: 7.984 kB / 0.7874 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.01402, allocations: 414.4 kB / 0.7878 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01402, allocations: 1.438 kB / 0.7878 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.0142, allocations: 63.94 kB / 0.7878 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.0142, allocations: 5.594 kB / 0.7878 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01421, allocations: 8 kB / 0.7878 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01421, allocations: 0 / 0.7878 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.01422, allocations: 3.938 kB / 0.7878 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.01442, allocations: 312.3 kB / 0.7881 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.01446, allocations: 33.48 kB / 0.7882 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.01448, allocations: 3.984 kB / 0.7882 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.01455, allocations: 8 kB / 0.7882 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.01457, allocations: 7.984 kB / 0.7882 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.01458, allocations: 8 kB / 0.7882 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.01462, allocations: 42.31 kB / 0.7882 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01462, allocations: 3.438 kB / 0.7882 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001868/0.01481, allocations: 68 kB / 0.7883 GB, free: 8.488 MB / 0.7448 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.0001061/0.01491, allocations: 96.33 kB / 0.7884 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.01523, allocations: 274.5 kB / 0.7887 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.01523, allocations: 4 kB / 0.7887 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.01528, allocations: 48.78 kB / 0.7887 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.01547, allocations: 40.22 kB / 0.7887 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.01629, allocations: 0.5221 MB / 0.7893 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.246e-05/0.01636, allocations: 104.2 kB / 0.7894 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.43e-05/0.01643, allocations: 26.22 kB / 0.7894 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01653, allocations: 79.36 kB / 0.7895 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01653, allocations: 0.5938 kB / 0.7895 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.004752/0.02128, allocations: 2.999 MB / 0.7924 GB, free: 4.371 MB / 0.7448 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.761856603436172]