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.0009544/0.0009544, allocations: 80.8 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.001012/0.001012, 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 1.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.889/1.889, allocations: 389.6 MB / 0.6354 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.773e-06/1.773e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.478e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003048/0.003063, allocations: 2.55 MB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.004821, allocations: 1.262 MB / 0.7789 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.004943, allocations: 8.875 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.005336, allocations: 91.5 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.00566, allocations: 184.5 kB / 0.7792 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.005959, allocations: 161.8 kB / 0.7793 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.006253, allocations: 326.9 kB / 0.7797 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.006501, allocations: 194.2 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.006723, allocations: 187.6 kB / 0.78 GB, free: 464 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.006956, allocations: 140.3 kB / 0.7802 GB, free: 324 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.006982, allocations: 24.56 kB / 0.7802 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.00721, allocations: 167.4 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.812e-05/0.007298, allocations: 111.7 kB / 0.7804 GB, free: 24 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.007382, allocations: 83.81 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.007705, allocations: 307 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.007706, allocations: 0 / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.007707, allocations: 0 / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.007711, allocations: 0 / 0.7808 GB, free: 15.64 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.000538/0.008249, allocations: 448 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.008284, allocations: 12.31 kB / 0.7813 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.008711, allocations: 120.6 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.008929, allocations: 182.5 kB / 0.7815 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.008944, allocations: 16.88 kB / 0.7816 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.009004, allocations: 20.56 kB / 0.7816 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.009281, allocations: 287.7 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.009294, allocations: 1.031 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.009315, allocations: 12.12 kB / 0.7819 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.328e-05/0.009379, allocations: 37 kB / 0.7819 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.009502, allocations: 84.66 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.0106, allocations: 0.8392 MB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.01078, allocations: 160.7 kB / 0.783 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.01082, allocations: 32.86 kB / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.216e-05/0.01088, allocations: 13.05 kB / 0.783 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.0109, allocations: 34.55 kB / 0.783 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.0109, allocations: 0.5 kB / 0.783 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005309/0.01143, allocations: 363.5 kB / 0.7834 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.01146, allocations: 55.41 kB / 0.7834 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.79e-05/0.01156, allocations: 171 kB / 0.7836 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.01157, allocations: 30.58 kB / 0.7836 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.01164, allocations: 172.5 kB / 0.7838 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.01167, allocations: 69.16 kB / 0.7839 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.01174, allocations: 49.67 kB / 0.7839 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.01182, allocations: 326.8 kB / 0.7842 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.01186, allocations: 27.98 kB / 0.7842 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.01193, allocations: 99.2 kB / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.01205, allocations: 133.9 kB / 0.7845 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01206, allocations: 0 / 0.7845 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002736/0.01233, allocations: 204.3 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.01234, allocations: 4.938 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01235, allocations: 8 kB / 0.7847 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.01266, allocations: 108.1 kB / 0.7848 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01277, allocations: 49.09 kB / 0.7848 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008903/0.01366, allocations: 1.345 MB / 0.7861 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.01375, allocations: 9.688 kB / 0.7861 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.01376, allocations: 11.92 kB / 0.7862 GB, free: 9.84 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.621e-05/0.01384, allocations: 124.7 kB / 0.7863 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.01387, allocations: 17.3 kB / 0.7863 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.01405, allocations: 153.2 kB / 0.7864 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.01405, allocations: 0 / 0.7864 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01405, allocations: 0 / 0.7864 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01406, allocations: 0 / 0.7864 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.01443, allocations: 408.6 kB / 0.7868 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.01443, allocations: 1.656 kB / 0.7868 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.01462, allocations: 75.81 kB / 0.7869 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01462, allocations: 3.938 kB / 0.7869 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01463, allocations: 8.5 kB / 0.7869 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01463, allocations: 0 / 0.7869 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01463, allocations: 3.438 kB / 0.7869 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.01485, allocations: 308.1 kB / 0.7872 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.01489, allocations: 35.75 kB / 0.7872 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.01491, allocations: 8 kB / 0.7872 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.01498, allocations: 8 kB / 0.7873 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.015, allocations: 11.97 kB / 0.7873 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01501, allocations: 4 kB / 0.7873 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.01505, allocations: 45.81 kB / 0.7873 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01505, allocations: 2.75 kB / 0.7873 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002077/0.01526, allocations: 68 kB / 0.7874 GB, free: 8.52 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 8.939e-05/0.01535, allocations: 76.42 kB / 0.7875 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.01567, allocations: 277.7 kB / 0.7877 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.01567, allocations: 0 / 0.7877 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.01573, allocations: 65.25 kB / 0.7878 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.01592, allocations: 41.52 kB / 0.7878 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.01675, allocations: 0.5216 MB / 0.7883 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.01681, allocations: 109.1 kB / 0.7884 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.131e-05/0.01688, allocations: 21.83 kB / 0.7885 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.01699, allocations: 83.34 kB / 0.7885 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.01699, allocations: 0.7812 kB / 0.7885 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of Templates: time 0.004838/0.02183, allocations: 2.994 MB / 0.7915 GB, free: 4.41 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 & (cd run_cvode && ../Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.88046966958791]