Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009205/0.0009205, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0008217/0.0008217, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9281/0.9281, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-531:686: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-531:694: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.7117/0.7117, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008643/0.0008643, allocations: 63.91 kB / 0.6195 GB, free: 13.17 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4488, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002474/0.4513, allocations: 2.493 MB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.4521, allocations: 0.7482 MB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.4522, allocations: 7.594 kB / 0.7223 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.4529, allocations: 0.5493 MB / 0.7228 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.4531, allocations: 108 kB / 0.7229 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.4533, allocations: 113.9 kB / 0.723 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.4535, allocations: 201.6 kB / 0.7232 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.4537, allocations: 138.8 kB / 0.7233 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.4538, allocations: 126.4 kB / 0.7235 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.454, allocations: 92.72 kB / 0.7235 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.4541, allocations: 13.53 kB / 0.7236 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.4542, allocations: 100.2 kB / 0.7237 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.4543, allocations: 57.38 kB / 0.7237 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.4543, allocations: 64.52 kB / 0.7238 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.4546, allocations: 241 kB / 0.724 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4546, allocations: 0 / 0.724 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4546, allocations: 1.062 kB / 0.724 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4546, allocations: 0 / 0.724 GB, free: 20.66 MB / 0.6355 GB 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.0004277/0.455, allocations: 379.1 kB / 0.7244 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.455, allocations: 9.719 kB / 0.7244 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.4553, allocations: 47.97 kB / 0.7244 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.4554, allocations: 155.7 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4555, allocations: 15.34 kB / 0.7246 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.4555, allocations: 12.91 kB / 0.7246 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.4558, allocations: 255.3 kB / 0.7248 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4558, allocations: 5.625 kB / 0.7248 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4558, allocations: 9.047 kB / 0.7248 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.4558, allocations: 18.83 kB / 0.7249 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.456, allocations: 143.5 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.4566, allocations: 0.7847 MB / 0.7258 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.298e-05/0.4566, allocations: 40.31 kB / 0.7258 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.4566, allocations: 16.98 kB / 0.7258 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.4567, allocations: 1.094 kB / 0.7258 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.4567, allocations: 36.55 kB / 0.7259 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4567, allocations: 0 / 0.7259 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001534/0.4568, allocations: 72.38 kB / 0.7259 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.039e-05/0.4568, allocations: 56.59 kB / 0.726 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.4569, allocations: 150.9 kB / 0.7261 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-06/0.4569, allocations: 26.8 kB / 0.7262 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.457, allocations: 160.3 kB / 0.7263 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.457, allocations: 13.06 kB / 0.7263 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.457, allocations: 33.12 kB / 0.7263 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.939e-05/0.4571, allocations: 320.8 kB / 0.7267 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.4571, allocations: 28.33 kB / 0.7267 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.624e-05/0.4571, allocations: 90.3 kB / 0.7268 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.4572, allocations: 122.7 kB / 0.7269 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4572, allocations: 1.609 kB / 0.7269 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001266/0.4573, allocations: 133.1 kB / 0.727 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4574, allocations: 8.828 kB / 0.727 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4574, allocations: 6.969 kB / 0.727 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4574, allocations: 4.562 kB / 0.727 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.4575, allocations: 26.8 kB / 0.7271 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4575, allocations: 11.08 kB / 0.7271 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.4575, allocations: 17.58 kB / 0.7271 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.4575, allocations: 5.594 kB / 0.7271 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.264e-05/0.4576, allocations: 120.5 kB / 0.7272 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.858e-05/0.4576, allocations: 92.58 kB / 0.7273 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.012e-05/0.4577, allocations: 127.6 kB / 0.7274 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.4577, allocations: 0 / 0.7274 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001198/0.4578, allocations: 135.9 kB / 0.7275 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.4578, allocations: 6.344 kB / 0.7276 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.4578, allocations: 3.203 kB / 0.7276 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-06/0.4578, allocations: 3.625 kB / 0.7276 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.4579, allocations: 34.33 kB / 0.7276 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.4579, allocations: 4.688 kB / 0.7276 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.4579, allocations: 15.42 kB / 0.7276 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4579, allocations: 7.188 kB / 0.7276 GB, free: 17.66 MB / 0.6355 GB 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 4.362e-05/0.458, allocations: 192.9 kB / 0.7278 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.458, allocations: 8.328 kB / 0.7278 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.458, allocations: 12.52 kB / 0.7278 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.458, allocations: 0.7031 kB / 0.7278 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.458, allocations: 0 / 0.7278 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.458, allocations: 18.42 kB / 0.7278 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.4581, allocations: 0.8438 kB / 0.7278 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.4581, allocations: 0 / 0.7278 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.4581, allocations: 2.953 kB / 0.7278 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.022e-05/0.4582, allocations: 131.6 kB / 0.728 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.722e-05/0.4583, allocations: 242.1 kB / 0.7282 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.529e-05/0.4584, allocations: 17.8 kB / 0.7282 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.4584, allocations: 108.1 kB / 0.7283 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of Backend: time 1.7e-07/0.4584, allocations: 0 / 0.7283 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.4589, allocations: 244.7 kB / 0.7286 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000467/0.4594, allocations: 0.7034 MB / 0.7292 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.003503/0.4629, allocations: 1.5 MB / 0.7307 GB, free: 16.06 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.162825901992619] Failed to read output from testmodel.py, exit status != 0: 0.4674970260821283 0.47592662799999996 0.01963851 Calling exit ...