Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.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.001015/0.001015, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001368/0.001368, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.081/1.081, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8117/0.8117, allocations: 154.9 MB / 415.1 MB, free: 236 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.002e-05, allocations: 2.312 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002831/0.002851, allocations: 2.17 MB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008445/0.003696, allocations: 0.5278 MB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.003788, allocations: 8.922 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.004501, allocations: 430.9 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.004706, allocations: 103 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.004929, allocations: 105.4 kB / 483.7 MB, free: 3.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.005124, allocations: 200 kB / 483.9 MB, free: 3.035 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.005318, allocations: 138.2 kB / 484 MB, free: 2.895 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.00543, allocations: 120.9 kB / 484.2 MB, free: 2.777 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.005674, allocations: 83.81 kB / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.005695, allocations: 19.22 kB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.005813, allocations: 79.73 kB / 484.3 MB, free: 2.602 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.005865, allocations: 59.88 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.005908, allocations: 51.84 kB / 484.4 MB, free: 2.492 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.006095, allocations: 159.5 kB / 484.6 MB, free: 2.336 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.006098, allocations: 3.984 kB / 484.6 MB, free: 2.332 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006099, allocations: 0 / 484.6 MB, free: 2.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.006103, allocations: 0 / 484.6 MB, free: 2.332 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003636/0.006466, allocations: 351.6 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.006498, allocations: 8.906 kB / 485 MB, free: 1.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.006812, allocations: 69.72 kB / 485 MB, free: 1.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.006991, allocations: 146.2 kB / 485.2 MB, free: 1.723 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.007004, allocations: 8.641 kB / 485.2 MB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.007021, allocations: 13 kB / 485.2 MB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.007218, allocations: 189.8 kB / 485.4 MB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.00723, allocations: 3.469 kB / 485.4 MB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.007243, allocations: 9 kB / 485.4 MB, free: 1.488 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.007271, allocations: 20.2 kB / 485.4 MB, free: 1.469 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.062e-05/0.007332, allocations: 42.02 kB / 485.4 MB, free: 1.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.007898, allocations: 0.7127 MB / 486.2 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.387e-05/0.007942, allocations: 32.28 kB / 486.2 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.007957, allocations: 12.86 kB / 486.2 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.007966, allocations: 0 / 486.2 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.007985, allocations: 34.56 kB / 486.2 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.007986, allocations: 0.6562 kB / 486.2 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 9.958e-05/0.008086, allocations: 41.78 kB / 486.3 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.008107, allocations: 52.41 kB / 486.3 MB, free: 476 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.008183, allocations: 154.5 kB / 486.5 MB, free: 308 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.008192, allocations: 30.33 kB / 486.5 MB, free: 272 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.008245, allocations: 146.8 kB / 486.6 MB, free: 124 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.008252, allocations: 12.69 kB / 486.7 MB, free: 112 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.008286, allocations: 41.62 kB / 486.7 MB, free: 64 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.008368, allocations: 320 kB / 487 MB, free: 15.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.008394, allocations: 16.84 kB / 487 MB, free: 15.72 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.008438, allocations: 73.45 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.202e-05/0.00852, allocations: 111.6 kB / 487.2 MB, free: 15.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008522, allocations: 0.8438 kB / 487.2 MB, free: 15.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.968e-05/0.008622, allocations: 103.4 kB / 487.3 MB, free: 15.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.008634, allocations: 4 kB / 487.3 MB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.008639, allocations: 4.875 kB / 487.3 MB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.008652, allocations: 4 kB / 487.3 MB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.008725, allocations: 29.17 kB / 487.4 MB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.008729, allocations: 4 kB / 487.4 MB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.00877, allocations: 15.89 kB / 487.4 MB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.008776, allocations: 4 kB / 487.4 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.141e-05/0.008818, allocations: 103.6 kB / 487.5 MB, free: 15.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.883e-05/0.008856, allocations: 77.36 kB / 487.6 MB, free: 15.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.198e-05/0.008918, allocations: 103.6 kB / 487.7 MB, free: 14.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.00892, allocations: 4 kB / 487.7 MB, free: 14.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 8.489e-05/0.009005, allocations: 94.88 kB / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.009011, allocations: 9.281 kB / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.009013, allocations: 0 / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-06/0.009015, allocations: 4 kB / 487.8 MB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.009064, allocations: 32.73 kB / 487.8 MB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.009068, allocations: 3.984 kB / 487.8 MB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.009098, allocations: 10.3 kB / 487.8 MB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.009105, allocations: 12 kB / 487.8 MB, free: 14.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 6.996e-05/0.009175, allocations: 196.1 kB / 488 MB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.00919, allocations: 4 kB / 488 MB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.009209, allocations: 12.34 kB / 488 MB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.00921, allocations: 0 / 488 MB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.009213, allocations: 2.375 kB / 488 MB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.009216, allocations: 3.984 kB / 488 MB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.009448, allocations: 429 kB / 488.5 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.00945, allocations: 5.844 kB / 488.5 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.009467, allocations: 4 kB / 488.5 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.009469, allocations: 4 kB / 488.5 MB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.009473, allocations: 0 / 488.5 MB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009475, allocations: 0 / 488.5 MB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.009478, allocations: 9.75 kB / 488.5 MB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.28e-05/0.009541, allocations: 104 kB / 488.6 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.009558, allocations: 9.219 kB / 488.6 MB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.009568, allocations: 4 kB / 488.6 MB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.009584, allocations: 4.938 kB / 488.6 MB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.009598, allocations: 3.938 kB / 488.6 MB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.009601, allocations: 4 kB / 488.6 MB, free: 13.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.522e-05/0.009626, allocations: 34.55 kB / 488.6 MB, free: 13.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009626, allocations: 2.344 kB / 488.6 MB, free: 13.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.009811, allocations: 59.84 kB / 488.7 MB, free: 13.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (4): * Single equations (assignments): 4 * 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 7.921e-05/0.00989, allocations: 76.36 kB / 488.8 MB, free: 13.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01001, allocations: 84.28 kB / 488.9 MB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.01002, allocations: 4 kB / 488.9 MB, free: 13.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.01003, allocations: 26.05 kB / 488.9 MB, free: 13.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.01018, allocations: 33.48 kB / 488.9 MB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.01067, allocations: 273.5 kB / 489.2 MB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.01071, allocations: 75.83 kB / 489.3 MB, free: 13.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.01076, allocations: 12.73 kB / 489.3 MB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.01081, allocations: 64.05 kB / 489.3 MB, free: 13.15 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01081, allocations: 0 / 489.3 MB, free: 13.15 MB / 458.7 MB Notification: Performance of Templates: time 0.002489/0.0133, allocations: 0.867 MB / 490.2 MB, free: 12.34 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6213574591092765]