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.001029/0.001029, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.00105/0.00105, allocations: 162.7 kB / 24.96 MB, free: 8.234 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.9081/0.9081, allocations: 177.1 MB / 205.4 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.795/1.795, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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 2.004e-06/2.004e-06, allocations: 0.6562 kB / 0.7759 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.334e-05, allocations: 6.25 kB / 0.776 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00352/0.003544, allocations: 2.556 MB / 0.7784 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.005401, allocations: 1.265 MB / 0.7797 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.00555, allocations: 4 kB / 0.7797 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.005987, allocations: 87.52 kB / 0.7798 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.006378, allocations: 190.5 kB / 0.78 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.006765, allocations: 159.5 kB / 0.7801 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.007128, allocations: 322.9 kB / 0.7804 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.007405, allocations: 194.2 kB / 0.7806 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.007689, allocations: 192.5 kB / 0.7808 GB, free: 492 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.007949, allocations: 147.6 kB / 0.7809 GB, free: 344 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.007976, allocations: 24.81 kB / 0.7809 GB, free: 320 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.008258, allocations: 163.6 kB / 0.7811 GB, free: 156 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.008352, allocations: 108.9 kB / 0.7812 GB, free: 48 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.008436, allocations: 87.8 kB / 0.7813 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.008813, allocations: 303 kB / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.008816, allocations: 0.6875 kB / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.008817, allocations: 0 / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.008823, allocations: 1.125 kB / 0.7816 GB, free: 15.66 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.0005353/0.009358, allocations: 444.8 kB / 0.782 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.009392, allocations: 9.344 kB / 0.782 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.009877, allocations: 122.1 kB / 0.7821 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.0101, allocations: 191 kB / 0.7823 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.01011, allocations: 12.88 kB / 0.7823 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.01018, allocations: 29.67 kB / 0.7824 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.01045, allocations: 275.8 kB / 0.7826 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.01046, allocations: 4.125 kB / 0.7826 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.01048, allocations: 13.84 kB / 0.7826 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.114e-05/0.01054, allocations: 32.47 kB / 0.7827 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.01066, allocations: 83.38 kB / 0.7827 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.01146, allocations: 0.8364 MB / 0.7836 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.01164, allocations: 165.8 kB / 0.7837 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.01168, allocations: 33.61 kB / 0.7838 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.484e-05/0.01174, allocations: 12.95 kB / 0.7838 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.01176, allocations: 34.56 kB / 0.7838 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.01176, allocations: 0 / 0.7838 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005326/0.0123, allocations: 367.8 kB / 0.7841 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.01232, allocations: 55.41 kB / 0.7842 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.01242, allocations: 170.5 kB / 0.7844 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.01243, allocations: 31.17 kB / 0.7844 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.0125, allocations: 168.5 kB / 0.7846 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.01253, allocations: 67.38 kB / 0.7846 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01259, allocations: 57.66 kB / 0.7847 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/0.01267, allocations: 331.9 kB / 0.785 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.01271, allocations: 27.98 kB / 0.785 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.01278, allocations: 87.28 kB / 0.7851 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.01291, allocations: 138.2 kB / 0.7852 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01291, allocations: 0 / 0.7852 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002928/0.0132, allocations: 208.6 kB / 0.7854 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01322, allocations: 4 kB / 0.7854 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01323, allocations: 8 kB / 0.7854 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.01355, allocations: 101.6 kB / 0.7855 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01368, allocations: 51.91 kB / 0.7856 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.01479, allocations: 1.344 MB / 0.7869 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.01487, allocations: 8 kB / 0.7869 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01489, allocations: 7.984 kB / 0.7869 GB, free: 9.871 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.401e-05/0.01497, allocations: 124.6 kB / 0.787 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.015, allocations: 20.17 kB / 0.7871 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.01523, allocations: 142.1 kB / 0.7872 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01523, allocations: 4 kB / 0.7872 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01523, allocations: 0 / 0.7872 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01523, allocations: 0 / 0.7872 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.01561, allocations: 416 kB / 0.7876 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01561, allocations: 1.312 kB / 0.7876 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.0158, allocations: 67.88 kB / 0.7877 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.0158, allocations: 5.062 kB / 0.7877 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.01581, allocations: 8 kB / 0.7877 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01581, allocations: 3.938 kB / 0.7877 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01582, allocations: 0.9062 kB / 0.7877 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.01603, allocations: 310.2 kB / 0.788 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.01607, allocations: 27.83 kB / 0.788 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01609, allocations: 8.688 kB / 0.788 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.01616, allocations: 8 kB / 0.788 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.01618, allocations: 12.62 kB / 0.788 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.01619, allocations: 8 kB / 0.788 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.01623, allocations: 42.31 kB / 0.7881 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01623, allocations: 3.062 kB / 0.7881 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002114/0.01644, allocations: 64 kB / 0.7881 GB, free: 8.559 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.0001103/0.01655, allocations: 88.36 kB / 0.7882 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.01688, allocations: 282.8 kB / 0.7885 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.01689, allocations: 0 / 0.7885 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.01694, allocations: 52.77 kB / 0.7885 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.01714, allocations: 44.64 kB / 0.7886 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.01815, allocations: 0.5218 MB / 0.7891 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.292e-05/0.01823, allocations: 109.2 kB / 0.7892 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.667e-05/0.0183, allocations: 26.06 kB / 0.7892 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.0184, allocations: 79.36 kB / 0.7893 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01841, allocations: 0 / 0.7893 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.004893/0.0233, allocations: 2.987 MB / 0.7922 GB, free: 4.441 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.836270717903972]