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.0008927/0.0008927, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009832/0.0009832, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9168/0.9168, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.846/1.846, allocations: 389.6 MB / 0.6354 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 4.989e-06/4.989e-06, allocations: 4 kB / 0.7752 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.768e-05, allocations: 3.219 kB / 0.7752 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003921/0.003948, allocations: 2.51 MB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.005946, allocations: 1.261 MB / 0.7788 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.006058, allocations: 4 kB / 0.7788 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.006514, allocations: 91.52 kB / 0.7789 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.006859, allocations: 186.7 kB / 0.7791 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.007165, allocations: 155.5 kB / 0.7793 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.00751, allocations: 334.8 kB / 0.7796 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.00779, allocations: 194.2 kB / 0.7798 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.008053, allocations: 190.4 kB / 0.7799 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.008316, allocations: 147.5 kB / 0.7801 GB, free: 436 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.008349, allocations: 20 kB / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.008573, allocations: 155.7 kB / 0.7803 GB, free: 260 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.008689, allocations: 111.7 kB / 0.7804 GB, free: 148 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.088e-05/0.00878, allocations: 87.75 kB / 0.7804 GB, free: 60 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.009173, allocations: 301.1 kB / 0.7807 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.009176, allocations: 3.938 kB / 0.7807 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.009177, allocations: 0 / 0.7807 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.00918, allocations: 0 / 0.7807 GB, free: 15.76 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.0006511/0.009832, allocations: 444.9 kB / 0.7812 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.009867, allocations: 9.344 kB / 0.7812 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006269/0.01049, allocations: 117.2 kB / 0.7813 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.01073, allocations: 193.4 kB / 0.7815 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.01074, allocations: 17.34 kB / 0.7815 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.01082, allocations: 24.56 kB / 0.7815 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.01108, allocations: 280.7 kB / 0.7818 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.01109, allocations: 192 / 0.7818 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.01111, allocations: 12.72 kB / 0.7818 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.01117, allocations: 40.41 kB / 0.7818 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.01129, allocations: 80.2 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007605/0.01205, allocations: 0.8438 MB / 0.7827 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.01222, allocations: 156.7 kB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.01227, allocations: 36.84 kB / 0.7829 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.01232, allocations: 10.41 kB / 0.7829 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.01234, allocations: 34.56 kB / 0.7829 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.01235, allocations: 0 / 0.7829 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0007454/0.01309, allocations: 360.5 kB / 0.7833 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.01312, allocations: 55.41 kB / 0.7833 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.01322, allocations: 175 kB / 0.7835 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.01323, allocations: 30.45 kB / 0.7835 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.0133, allocations: 168.4 kB / 0.7837 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.01333, allocations: 75.95 kB / 0.7838 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.01339, allocations: 45.69 kB / 0.7838 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.01347, allocations: 331.9 kB / 0.7841 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.01352, allocations: 35.92 kB / 0.7842 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.01358, allocations: 87.27 kB / 0.7843 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.01371, allocations: 132.6 kB / 0.7844 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01371, allocations: 5.75 kB / 0.7844 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002799/0.01399, allocations: 206.3 kB / 0.7846 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01401, allocations: 9 kB / 0.7846 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.01401, allocations: 0 / 0.7846 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.01431, allocations: 101 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.01443, allocations: 51.91 kB / 0.7847 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008629/0.01529, allocations: 1.342 MB / 0.786 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.01537, allocations: 9.438 kB / 0.7861 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01538, allocations: 11.98 kB / 0.7861 GB, free: 9.961 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 9.454e-05/0.01548, allocations: 125.7 kB / 0.7862 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.0155, allocations: 15.98 kB / 0.7862 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.01568, allocations: 140.2 kB / 0.7863 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.01568, allocations: 8.766 kB / 0.7863 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.71e-07/0.01569, allocations: 0 / 0.7863 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01569, allocations: 0.9375 kB / 0.7863 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.01604, allocations: 408.9 kB / 0.7867 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01604, allocations: 0 / 0.7867 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.01617, allocations: 49.25 kB / 0.7868 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01618, allocations: 7.938 kB / 0.7868 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01619, allocations: 4 kB / 0.7868 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01619, allocations: 4 kB / 0.7868 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01619, allocations: 6.734 kB / 0.7868 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.0164, allocations: 309.9 kB / 0.7871 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.01644, allocations: 31.81 kB / 0.7871 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01646, allocations: 8 kB / 0.7871 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.01653, allocations: 4 kB / 0.7871 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.01655, allocations: 12.03 kB / 0.7872 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.01656, allocations: 10.31 kB / 0.7872 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.0166, allocations: 49.81 kB / 0.7872 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0166, allocations: 0 / 0.7872 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001937/0.01679, allocations: 67.94 kB / 0.7873 GB, free: 8.66 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.0001005/0.01689, allocations: 88.3 kB / 0.7874 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.01721, allocations: 271.3 kB / 0.7876 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.01722, allocations: 0 / 0.7876 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-05/0.01727, allocations: 67.03 kB / 0.7877 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.01746, allocations: 43.53 kB / 0.7877 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.01827, allocations: 0.5284 MB / 0.7882 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.334e-05/0.01834, allocations: 104.2 kB / 0.7883 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.233e-05/0.01841, allocations: 21.7 kB / 0.7884 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.01851, allocations: 84.34 kB / 0.7884 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.01851, allocations: 0 / 0.7884 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of Templates: time 0.004711/0.02322, allocations: 2.987 MB / 0.7914 GB, free: 4.551 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.798849355895072]