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: "" <> buildModelFMU(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009557/0.0009558, allocations: 110 kB / 16.41 MB, free: 6.488 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.0009775/0.0009775, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.216/1.216, 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.6916/0.6916, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 62.91 kB / 0.5572 GB, free: 32.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 76.18 MB / 0.6316 GB, free: 5.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003666/0.128, allocations: 2.483 MB / 0.634 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1293, allocations: 0.7868 MB / 0.6348 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.1294, allocations: 4 kB / 0.6348 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.1306, allocations: 0.518 MB / 0.6353 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1309, allocations: 115.5 kB / 0.6354 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1312, allocations: 99.8 kB / 0.6355 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.1314, allocations: 199.4 kB / 0.6357 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.1317, allocations: 165 kB / 0.6358 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.1318, allocations: 79.75 kB / 0.6359 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.1322, allocations: 99.58 kB / 0.636 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1322, allocations: 12 kB / 0.636 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.1324, allocations: 111.8 kB / 0.6361 GB, free: 396 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.1324, allocations: 55.88 kB / 0.6362 GB, free: 340 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.449e-05/0.1325, allocations: 67.67 kB / 0.6362 GB, free: 272 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1328, allocations: 224.1 kB / 0.6364 GB, free: 48 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1328, allocations: 4 kB / 0.6364 GB, free: 44 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1328, allocations: 0 / 0.6364 GB, free: 44 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1328, allocations: 0 / 0.6364 GB, free: 44 kB / 478.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.0005636/0.1334, allocations: 451.4 kB / 0.6369 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1334, allocations: 8.031 kB / 0.6369 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.1336, allocations: 50.73 kB / 0.6369 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.134, allocations: 44.66 kB / 0.637 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1342, allocations: 228 kB / 0.6372 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1342, allocations: 8.656 kB / 0.6372 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1342, allocations: 12.38 kB / 0.6372 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1346, allocations: 231 kB / 0.6374 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1346, allocations: 0 / 0.6374 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1346, allocations: 11.98 kB / 0.6374 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.1346, allocations: 16.27 kB / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.1348, allocations: 144.7 kB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1359, allocations: 1.131 MB / 0.6387 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.136, allocations: 38.56 kB / 0.6387 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.136, allocations: 20.94 kB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.136, allocations: 0 / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.1361, allocations: 34.5 kB / 0.6388 GB, free: 13.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1361, allocations: 0 / 0.6388 GB, free: 13.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001733/0.1362, allocations: 77.53 kB / 0.6389 GB, free: 13.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1363, allocations: 59.39 kB / 0.6389 GB, free: 13.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1364, allocations: 176.6 kB / 0.6391 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.1364, allocations: 25.7 kB / 0.6391 GB, free: 13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.1365, allocations: 143.4 kB / 0.6393 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1366, allocations: 7.812 kB / 0.6393 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1367, allocations: 37.53 kB / 0.6393 GB, free: 12.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.1368, allocations: 318.8 kB / 0.6396 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.562e-05/0.1368, allocations: 32.84 kB / 0.6396 GB, free: 12.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.1369, allocations: 96.88 kB / 0.6397 GB, free: 12.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.137, allocations: 121.3 kB / 0.6398 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.137, allocations: 0 / 0.6398 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001787/0.1372, allocations: 133.3 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1372, allocations: 8 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1373, allocations: 8.234 kB / 0.64 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1373, allocations: 3.938 kB / 0.64 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.1374, allocations: 24.3 kB / 0.64 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1374, allocations: 11.94 kB / 0.64 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.1375, allocations: 23.75 kB / 0.64 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1375, allocations: 7.984 kB / 0.6401 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.197e-05/0.1376, allocations: 120.1 kB / 0.6402 GB, free: 11.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.073e-05/0.1376, allocations: 101.4 kB / 0.6403 GB, free: 11.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000126/0.1378, allocations: 121.2 kB / 0.6404 GB, free: 11.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.1378, allocations: 3.938 kB / 0.6404 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001625/0.1379, allocations: 129.7 kB / 0.6405 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.138, allocations: 12 kB / 0.6405 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.138, allocations: 0 / 0.6405 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/0.138, allocations: 4 kB / 0.6405 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.1381, allocations: 31.86 kB / 0.6406 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.1381, allocations: 4 kB / 0.6406 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1382, allocations: 11.94 kB / 0.6406 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1383, allocations: 4 kB / 0.6406 GB, free: 11.35 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 7.423e-05/0.1383, allocations: 191.7 kB / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.1384, allocations: 15.81 kB / 0.6408 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.1384, allocations: 20.86 kB / 0.6408 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1384, allocations: 3.938 kB / 0.6408 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1384, allocations: 4 kB / 0.6408 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1384, allocations: 0 / 0.6408 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.1388, allocations: 469.1 kB / 0.6412 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1388, allocations: 4.125 kB / 0.6412 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.1388, allocations: 8 kB / 0.6413 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1388, allocations: 0 / 0.6413 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1388, allocations: 0 / 0.6413 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1389, allocations: 4 kB / 0.6413 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1389, allocations: 0 / 0.6413 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.139, allocations: 123.4 kB / 0.6414 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.139, allocations: 89.02 kB / 0.6415 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.139, allocations: 7.984 kB / 0.6415 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.1391, allocations: 0 / 0.6415 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.1391, allocations: 0 / 0.6415 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1391, allocations: 4 kB / 0.6415 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.409e-05/0.1392, allocations: 129.6 kB / 0.6416 GB, free: 10.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1392, allocations: 0 / 0.6416 GB, free: 10.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.1395, allocations: 59.78 kB / 0.6417 GB, free: 10.11 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 0.0003104/0.1398, allocations: 0.646 MB / 0.6423 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.14, allocations: 111.7 kB / 0.6424 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.14, allocations: 0 / 0.6424 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.1401, allocations: 17.23 kB / 0.6424 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1403, allocations: 23.45 kB / 0.6424 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.1417, allocations: 1.739 MB / 0.6441 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1421, allocations: 0.7245 MB / 0.6448 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.571e-05/0.1422, allocations: 28.61 kB / 0.6449 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.1422, allocations: 35.42 kB / 0.6449 GB, free: 6.566 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1422, allocations: 0 / 0.6449 GB, free: 6.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.1605, allocations: 2.4 MB / 0.6472 GB, free: 4.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.29, allocations: 17.58 kB / 0.6473 GB, free: 4.254 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)