Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 105.7 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6712/0.6712, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 68.27 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1232, allocations: 76.17 MB / 0.632 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003523/0.1268, allocations: 2.489 MB / 0.6345 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1279, allocations: 0.7829 MB / 0.6352 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.128, allocations: 3.938 kB / 0.6352 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1291, allocations: 0.5219 MB / 0.6358 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1293, allocations: 111.5 kB / 0.6359 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1296, allocations: 110.5 kB / 0.636 GB, free: 408 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.1298, allocations: 191.4 kB / 0.6362 GB, free: 216 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.1301, allocations: 172.7 kB / 0.6363 GB, free: 36 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.1302, allocations: 83.69 kB / 0.6364 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1304, allocations: 99.64 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1305, allocations: 12 kB / 0.6365 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1307, allocations: 107.7 kB / 0.6366 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.1307, allocations: 55.89 kB / 0.6367 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.1308, allocations: 71.67 kB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1311, allocations: 215.4 kB / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1311, allocations: 3.938 kB / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1311, allocations: 4 kB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1311, allocations: 0 / 0.6369 GB, free: 15.39 MB / 494.1 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.0005132/0.1316, allocations: 447.2 kB / 0.6374 GB, free: 14.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.1316, allocations: 8.031 kB / 0.6374 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.132, allocations: 40.72 kB / 0.6374 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1322, allocations: 232 kB / 0.6376 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1322, allocations: 12.59 kB / 0.6376 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1323, allocations: 12.38 kB / 0.6377 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1326, allocations: 231.2 kB / 0.6379 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1326, allocations: 0 / 0.6379 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1326, allocations: 8 kB / 0.6379 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.1327, allocations: 20.2 kB / 0.6379 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.1329, allocations: 148.7 kB / 0.638 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.1338, allocations: 1.127 MB / 0.6391 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.1339, allocations: 38.56 kB / 0.6392 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.1339, allocations: 20.94 kB / 0.6392 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1339, allocations: 0 / 0.6392 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.134, allocations: 34.56 kB / 0.6392 GB, free: 12.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.134, allocations: 0 / 0.6392 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001754/0.1342, allocations: 81.47 kB / 0.6393 GB, free: 12.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1342, allocations: 51.41 kB / 0.6394 GB, free: 12.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1343, allocations: 176.6 kB / 0.6395 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1344, allocations: 25.7 kB / 0.6396 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.1345, allocations: 143.4 kB / 0.6397 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.1345, allocations: 15.81 kB / 0.6397 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1345, allocations: 29.7 kB / 0.6397 GB, free: 12.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1346, allocations: 326.8 kB / 0.64 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.1347, allocations: 20.86 kB / 0.6401 GB, free: 11.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.1348, allocations: 93.36 kB / 0.6402 GB, free: 11.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1349, allocations: 133.4 kB / 0.6403 GB, free: 11.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1349, allocations: 0 / 0.6403 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001806/0.1351, allocations: 129.4 kB / 0.6404 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1351, allocations: 11.94 kB / 0.6404 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1351, allocations: 320 / 0.6404 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1351, allocations: 11.94 kB / 0.6404 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.1353, allocations: 23.98 kB / 0.6405 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1353, allocations: 4 kB / 0.6405 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.1353, allocations: 19.75 kB / 0.6405 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1354, allocations: 11.94 kB / 0.6405 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.559e-05/0.1354, allocations: 124.1 kB / 0.6406 GB, free: 11.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.559e-05/0.1355, allocations: 89.44 kB / 0.6407 GB, free: 11.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001212/0.1357, allocations: 121.3 kB / 0.6408 GB, free: 10.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.1357, allocations: 0 / 0.6408 GB, free: 10.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.00017/0.1358, allocations: 137.4 kB / 0.6409 GB, free: 10.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.1358, allocations: 5.406 kB / 0.6409 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1359, allocations: 4 kB / 0.6409 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.1359, allocations: 4 kB / 0.641 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.1359, allocations: 27.94 kB / 0.641 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.136, allocations: 15.86 kB / 0.641 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.136, allocations: 7.938 kB / 0.641 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.136, allocations: 8 kB / 0.641 GB, free: 10.76 MB / 494.1 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 8.128e-05/0.1361, allocations: 192.4 kB / 0.6412 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1362, allocations: 11.81 kB / 0.6412 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.1362, allocations: 12.94 kB / 0.6412 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.1362, allocations: 3.938 kB / 0.6412 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1362, allocations: 3.984 kB / 0.6412 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1362, allocations: 0 / 0.6412 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.1366, allocations: 477.1 kB / 0.6417 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1366, allocations: 3.938 kB / 0.6417 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.1367, allocations: 7.938 kB / 0.6417 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1367, allocations: 4 kB / 0.6417 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1367, allocations: 0 / 0.6417 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1367, allocations: 0 / 0.6417 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1367, allocations: 4 kB / 0.6417 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1368, allocations: 115.7 kB / 0.6418 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.1369, allocations: 92.92 kB / 0.6419 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.1369, allocations: 0 / 0.6419 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.503e-05/0.1369, allocations: 7.938 kB / 0.6419 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.137, allocations: 3.984 kB / 0.6419 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.137, allocations: 4 kB / 0.6419 GB, free: 9.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.1371, allocations: 133.6 kB / 0.642 GB, free: 9.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1371, allocations: 0 / 0.642 GB, free: 9.578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.1374, allocations: 55.78 kB / 0.6421 GB, free: 9.523 MB / 494.1 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.948e-05/0.1375, allocations: 95.25 kB / 0.6422 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1377, allocations: 117.1 kB / 0.6423 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1377, allocations: 0 / 0.6423 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.1377, allocations: 23.92 kB / 0.6423 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1379, allocations: 18.05 kB / 0.6423 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.1384, allocations: 263.7 kB / 0.6426 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1386, allocations: 0.7241 MB / 0.6433 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.536e-05/0.1387, allocations: 36.59 kB / 0.6433 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.1387, allocations: 11.44 kB / 0.6433 GB, free: 8.176 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1387, allocations: 0 / 0.6433 GB, free: 8.176 MB / 494.1 MB Notification: Performance of Templates: time 0.002883/0.1416, allocations: 0.8719 MB / 0.6442 GB, free: 7.312 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)