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.0009691/0.0009691, 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.001358/0.001358, allocations: 177 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.9947/0.9947, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8428/0.8428, allocations: 154.9 MB / 415.1 MB, free: 224 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.433e-06/1.433e-06, allocations: 0 / 480.3 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.537e-05, allocations: 4.062 kB / 480.3 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003857/0.003882, allocations: 2.117 MB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.005107, allocations: 0.5304 MB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.005223, allocations: 3.938 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.006284, allocations: 436.5 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.006606, allocations: 99.2 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.006937, allocations: 103.7 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.007254, allocations: 204.3 kB / 483.8 MB, free: 3.113 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.007552, allocations: 139.8 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.007749, allocations: 120.4 kB / 484.1 MB, free: 2.852 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.008025, allocations: 85.47 kB / 484.1 MB, free: 2.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.008061, allocations: 16 kB / 484.2 MB, free: 2.754 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.008236, allocations: 75.8 kB / 484.2 MB, free: 2.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-05/0.008315, allocations: 59.88 kB / 484.3 MB, free: 2.621 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.008385, allocations: 51.84 kB / 484.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.008682, allocations: 164.3 kB / 484.5 MB, free: 2.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.008686, allocations: 0 / 484.5 MB, free: 2.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008687, allocations: 1 kB / 484.5 MB, free: 2.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.008692, allocations: 0 / 484.5 MB, free: 2.41 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.0004978/0.00919, allocations: 348.2 kB / 484.8 MB, free: 2.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.00923, allocations: 12.03 kB / 484.9 MB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.009614, allocations: 62.03 kB / 484.9 MB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.00984, allocations: 150.2 kB / 485.1 MB, free: 1.805 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.009861, allocations: 17.77 kB / 485.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.009886, allocations: 12.38 kB / 485.1 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.01014, allocations: 185.2 kB / 485.3 MB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01015, allocations: 0.7188 kB / 485.3 MB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.01017, allocations: 4.375 kB / 485.3 MB, free: 1.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.0102, allocations: 20.86 kB / 485.3 MB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.0103, allocations: 41.92 kB / 485.3 MB, free: 1.512 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.01104, allocations: 0.7125 MB / 486.1 MB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.01111, allocations: 36.42 kB / 486.1 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.01113, allocations: 11.62 kB / 486.1 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.01114, allocations: 4 kB / 486.1 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.01116, allocations: 30.56 kB / 486.1 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.01116, allocations: 0 / 486.1 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001345/0.0113, allocations: 46.94 kB / 486.2 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.01133, allocations: 51.41 kB / 486.2 MB, free: 0.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.01143, allocations: 154.5 kB / 486.4 MB, free: 388 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.01144, allocations: 26.3 kB / 486.4 MB, free: 356 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.01151, allocations: 151.9 kB / 486.6 MB, free: 204 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.01152, allocations: 15.84 kB / 486.6 MB, free: 188 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.01157, allocations: 33.69 kB / 486.6 MB, free: 148 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.01169, allocations: 323.3 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-05/0.01172, allocations: 21.94 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.263e-05/0.01178, allocations: 69.44 kB / 487 MB, free: 15.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.01189, allocations: 107.2 kB / 487.1 MB, free: 15.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.0119, allocations: 4.562 kB / 487.1 MB, free: 15.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001511/0.01205, allocations: 96.66 kB / 487.2 MB, free: 15.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01206, allocations: 11.94 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01207, allocations: 3.938 kB / 487.2 MB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01209, allocations: 7.984 kB / 487.2 MB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01219, allocations: 21.22 kB / 487.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.0122, allocations: 4 kB / 487.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.01227, allocations: 15.89 kB / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01228, allocations: 9.047 kB / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.768e-05/0.01233, allocations: 98.84 kB / 487.4 MB, free: 15.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.483e-05/0.01239, allocations: 81.42 kB / 487.5 MB, free: 15.17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.645e-05/0.01246, allocations: 97.83 kB / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.01247, allocations: 0 / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 9.31e-05/0.01256, allocations: 104.1 kB / 487.7 MB, free: 14.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.01256, allocations: 9.078 kB / 487.7 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/0.01257, allocations: 4 kB / 487.7 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-06/0.01257, allocations: 5.906 kB / 487.7 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.01262, allocations: 23.94 kB / 487.7 MB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.01263, allocations: 3.984 kB / 487.7 MB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.01266, allocations: 7.953 kB / 487.7 MB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.01266, allocations: 8 kB / 487.7 MB, free: 14.88 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 7.379e-05/0.01274, allocations: 196.6 kB / 487.9 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.01275, allocations: 4.562 kB / 487.9 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.01277, allocations: 13.77 kB / 487.9 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01277, allocations: 0 / 487.9 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01278, allocations: 0 / 487.9 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.01278, allocations: 4 kB / 487.9 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.01302, allocations: 433.6 kB / 488.4 MB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01302, allocations: 0 / 488.4 MB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.01303, allocations: 5.188 kB / 488.4 MB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01304, allocations: 4 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.01304, allocations: 0 / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.01304, allocations: 0.5625 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.01305, allocations: 12.67 kB / 488.4 MB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.531e-05/0.01312, allocations: 100.6 kB / 488.5 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.01314, allocations: 12.64 kB / 488.5 MB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.01315, allocations: 5.078 kB / 488.5 MB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/0.01317, allocations: 4.75 kB / 488.5 MB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.01318, allocations: 7.922 kB / 488.5 MB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.01318, allocations: 4.5 kB / 488.5 MB, free: 14.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.248e-05/0.01321, allocations: 33.78 kB / 488.5 MB, free: 13.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01321, allocations: 0 / 488.5 MB, free: 13.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.01338, allocations: 59.84 kB / 488.6 MB, free: 13.92 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.899e-05/0.01346, allocations: 77.3 kB / 488.7 MB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.01357, allocations: 84.44 kB / 488.8 MB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.01358, allocations: 4.625 kB / 488.8 MB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.01359, allocations: 21.52 kB / 488.8 MB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.01373, allocations: 31.64 kB / 488.8 MB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.01424, allocations: 277.8 kB / 489.1 MB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.01429, allocations: 71.83 kB / 489.2 MB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.01435, allocations: 14.45 kB / 489.2 MB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.01441, allocations: 63.36 kB / 489.2 MB, free: 13.23 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01441, allocations: 0 / 489.2 MB, free: 13.23 MB / 458.7 MB Notification: Performance of Templates: time 0.002623/0.01704, allocations: 0.8663 MB / 490.1 MB, free: 12.42 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6216437672264874]