Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0008871/0.0008871, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009836/0.0009836, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9439/0.9439, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8261/0.8261, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.107e-05, allocations: 4.703 kB / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003105/0.003126, allocations: 2.489 MB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.004988, allocations: 1.265 MB / 483.7 MB, free: 3.234 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.005103, allocations: 7.938 kB / 483.8 MB, free: 3.227 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.005526, allocations: 96.94 kB / 483.9 MB, free: 3.133 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.005889, allocations: 183.8 kB / 484 MB, free: 2.953 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.006465, allocations: 161 kB / 484.2 MB, free: 2.797 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.006809, allocations: 332.2 kB / 484.5 MB, free: 2.473 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.007058, allocations: 178.9 kB / 484.7 MB, free: 2.297 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.00732, allocations: 198.6 kB / 484.9 MB, free: 2.105 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.007559, allocations: 143.6 kB / 485 MB, free: 1.965 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.007587, allocations: 24 kB / 485 MB, free: 1.941 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.007828, allocations: 155.6 kB / 485.2 MB, free: 1.789 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.007929, allocations: 115.7 kB / 485.3 MB, free: 1.676 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.007999, allocations: 87.77 kB / 485.4 MB, free: 1.59 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.008358, allocations: 299 kB / 485.7 MB, free: 1.297 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.008361, allocations: 0 / 485.7 MB, free: 1.297 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008363, allocations: 0.6562 kB / 485.7 MB, free: 1.297 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.008367, allocations: 0 / 485.7 MB, free: 1.297 MB / 442.7 MB 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.0005862/0.008953, allocations: 453.1 kB / 486.1 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.008986, allocations: 8.031 kB / 486.1 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.00946, allocations: 121.7 kB / 486.3 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.009685, allocations: 181.2 kB / 486.4 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.009703, allocations: 20.86 kB / 486.5 MB, free: 500 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.009777, allocations: 29.17 kB / 486.5 MB, free: 472 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.01005, allocations: 272.4 kB / 486.7 MB, free: 168 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01006, allocations: 8.125 kB / 486.8 MB, free: 160 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.01009, allocations: 16.73 kB / 486.8 MB, free: 144 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/0.01015, allocations: 25.05 kB / 486.8 MB, free: 116 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.01028, allocations: 91.97 kB / 486.9 MB, free: 28 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008478/0.01112, allocations: 0.84 MB / 487.7 MB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.01134, allocations: 156 kB / 487.9 MB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.01138, allocations: 33.48 kB / 487.9 MB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/0.01147, allocations: 15.66 kB / 487.9 MB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.01149, allocations: 34.56 kB / 488 MB, free: 14.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 2.414e-06/0.01149, allocations: 1 kB / 488 MB, free: 14.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006589/0.01215, allocations: 354 kB / 488.3 MB, free: 14.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.01218, allocations: 56.72 kB / 488.4 MB, free: 14.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.01229, allocations: 178.4 kB / 488.5 MB, free: 14.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.01231, allocations: 33.64 kB / 488.6 MB, free: 14.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.01237, allocations: 160.5 kB / 488.7 MB, free: 14.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.01241, allocations: 71.91 kB / 488.8 MB, free: 14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.01247, allocations: 59 kB / 488.9 MB, free: 13.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.01255, allocations: 326.8 kB / 489.2 MB, free: 13.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.0126, allocations: 31.97 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.01267, allocations: 81.97 kB / 489.3 MB, free: 13.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.0128, allocations: 143.5 kB / 489.4 MB, free: 13.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.0128, allocations: 7.938 kB / 489.4 MB, free: 13.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002916/0.01309, allocations: 203.3 kB / 489.6 MB, free: 13.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.01311, allocations: 8 kB / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01312, allocations: 0 / 489.6 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.01344, allocations: 105.3 kB / 489.7 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.01357, allocations: 39.92 kB / 489.8 MB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.01488, allocations: 1.346 MB / 491.1 MB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.01497, allocations: 8 kB / 491.1 MB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01499, allocations: 12.56 kB / 491.1 MB, free: 11.5 MB / 458.7 MB 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.509e-05/0.01508, allocations: 130.5 kB / 491.3 MB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.01511, allocations: 11.98 kB / 491.3 MB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.0153, allocations: 145.3 kB / 491.4 MB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.0153, allocations: 5.547 kB / 491.4 MB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.0153, allocations: 0 / 491.4 MB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01531, allocations: 3.984 kB / 491.4 MB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.01568, allocations: 398 kB / 491.8 MB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01568, allocations: 0 / 491.8 MB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.01582, allocations: 51.91 kB / 491.9 MB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01583, allocations: 7.938 kB / 491.9 MB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01584, allocations: 1.25 kB / 491.9 MB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01584, allocations: 4 kB / 491.9 MB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01584, allocations: 3.984 kB / 491.9 MB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.01607, allocations: 309.8 kB / 492.2 MB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.01612, allocations: 32.56 kB / 492.2 MB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01614, allocations: 8 kB / 492.2 MB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.01621, allocations: 1.875 kB / 492.2 MB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.01624, allocations: 15.98 kB / 492.3 MB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.01624, allocations: 0 / 492.3 MB, free: 10.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.01629, allocations: 58 kB / 492.3 MB, free: 10.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01629, allocations: 0 / 492.3 MB, free: 10.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.01652, allocations: 61 kB / 492.4 MB, free: 10.21 MB / 458.7 MB 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.0001336/0.01666, allocations: 96.98 kB / 492.5 MB, free: 10.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.01701, allocations: 275.1 kB / 492.7 MB, free: 9.828 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.01702, allocations: 8.875 kB / 492.7 MB, free: 9.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.571e-05/0.01707, allocations: 52.78 kB / 492.8 MB, free: 9.766 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01729, allocations: 47.7 kB / 492.8 MB, free: 9.723 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.01819, allocations: 0.5302 MB / 493.4 MB, free: 9.184 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.01828, allocations: 104.3 kB / 493.5 MB, free: 9.062 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.637e-05/0.01836, allocations: 18.94 kB / 493.5 MB, free: 9.051 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.01847, allocations: 84.39 kB / 493.6 MB, free: 8.969 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01847, allocations: 0 / 493.6 MB, free: 8.969 MB / 458.7 MB Notification: Performance of Templates: time 0.005002/0.02347, allocations: 2.959 MB / 496.5 MB, free: 6.176 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6306253680959344]