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.001017/0.00102, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001033, allocations: 206.4 kB / 16.79 MB, free: 6.84 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.226/1.226, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6364/0.6364, allocations: 115.4 MB / 406 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 61.25 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1271, allocations: 76.18 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004214/0.1313, allocations: 2.546 MB / 0.5583 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1326, allocations: 0.7713 MB / 0.5591 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1328, allocations: 7.938 kB / 0.5591 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1339, allocations: 0.5027 MB / 0.5596 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1342, allocations: 103.6 kB / 0.5597 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1346, allocations: 95.83 kB / 0.5598 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.135, allocations: 295.2 kB / 0.5601 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.1353, allocations: 122.3 kB / 0.5602 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1354, allocations: 63.78 kB / 0.5602 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1356, allocations: 99.59 kB / 0.5603 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1357, allocations: 8 kB / 0.5603 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.1359, allocations: 143.7 kB / 0.5605 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.136, allocations: 55.88 kB / 0.5605 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.1361, allocations: 67.67 kB / 0.5606 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.1364, allocations: 231.3 kB / 0.5608 GB, free: 5.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1364, allocations: 0 / 0.5608 GB, free: 5.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1364, allocations: 0 / 0.5608 GB, free: 5.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1364, allocations: 0 / 0.5608 GB, free: 5.641 MB / 430.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.0005946/0.137, allocations: 447.2 kB / 0.5612 GB, free: 5.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1371, allocations: 12.03 kB / 0.5613 GB, free: 5.141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.1371, allocations: 46.73 kB / 0.5613 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.1375, allocations: 48.7 kB / 0.5613 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1377, allocations: 208.1 kB / 0.5615 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1378, allocations: 12.66 kB / 0.5616 GB, free: 4.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1378, allocations: 20.36 kB / 0.5616 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.1381, allocations: 223.1 kB / 0.5618 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1381, allocations: 0 / 0.5618 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1382, allocations: 8 kB / 0.5618 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.1382, allocations: 12.27 kB / 0.5618 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.1384, allocations: 152.7 kB / 0.562 GB, free: 4.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1395, allocations: 1.134 MB / 0.5631 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/0.1395, allocations: 42.5 kB / 0.5631 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.1396, allocations: 16.94 kB / 0.5631 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1396, allocations: 4 kB / 0.5631 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1396, allocations: 34.56 kB / 0.5632 GB, free: 2.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1396, allocations: 4 kB / 0.5632 GB, free: 2.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001884/0.1398, allocations: 73.61 kB / 0.5632 GB, free: 2.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1399, allocations: 59.39 kB / 0.5633 GB, free: 2.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.14, allocations: 173.6 kB / 0.5634 GB, free: 2.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.14, allocations: 25.7 kB / 0.5635 GB, free: 2.617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.1401, allocations: 147.3 kB / 0.5636 GB, free: 2.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.1401, allocations: 15.81 kB / 0.5636 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.1402, allocations: 29.7 kB / 0.5637 GB, free: 2.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.1403, allocations: 326.8 kB / 0.564 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.1403, allocations: 28.78 kB / 0.564 GB, free: 2.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.1404, allocations: 85.44 kB / 0.5641 GB, free: 1.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1406, allocations: 129.3 kB / 0.5642 GB, free: 1.781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1406, allocations: 0 / 0.5642 GB, free: 1.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001873/0.1408, allocations: 129.4 kB / 0.5643 GB, free: 1.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1408, allocations: 8.25 kB / 0.5643 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1408, allocations: 8 kB / 0.5643 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1408, allocations: 7.938 kB / 0.5643 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1409, allocations: 31.92 kB / 0.5644 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1409, allocations: 8 kB / 0.5644 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.141, allocations: 15.75 kB / 0.5644 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.141, allocations: 8 kB / 0.5644 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.033e-05/0.1411, allocations: 124.1 kB / 0.5645 GB, free: 1.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.326e-05/0.1412, allocations: 93.36 kB / 0.5646 GB, free: 1.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001061/0.1413, allocations: 113.3 kB / 0.5647 GB, free: 1.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.1413, allocations: 4 kB / 0.5647 GB, free: 1.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001921/0.1415, allocations: 133.3 kB / 0.5649 GB, free: 1.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1415, allocations: 9.875 kB / 0.5649 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1416, allocations: 4 kB / 0.5649 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.1416, allocations: 0 / 0.5649 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.1416, allocations: 35.86 kB / 0.5649 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1417, allocations: 4 kB / 0.5649 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.1417, allocations: 7.938 kB / 0.5649 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1417, allocations: 8 kB / 0.5649 GB, free: 0.9609 MB / 430.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.106e-05/0.1418, allocations: 190.1 kB / 0.5651 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1419, allocations: 15.75 kB / 0.5651 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.1419, allocations: 20.86 kB / 0.5651 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1419, allocations: 0 / 0.5651 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1419, allocations: 0 / 0.5651 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1419, allocations: 0 / 0.5651 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.1423, allocations: 469.2 kB / 0.5656 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1423, allocations: 4 kB / 0.5656 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.1424, allocations: 4 kB / 0.5656 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1424, allocations: 0 / 0.5656 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1424, allocations: 4 kB / 0.5656 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1424, allocations: 3.938 kB / 0.5656 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1424, allocations: 0 / 0.5656 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.1425, allocations: 119.6 kB / 0.5657 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.1426, allocations: 92.95 kB / 0.5658 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1426, allocations: 4 kB / 0.5658 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.1426, allocations: 3.984 kB / 0.5658 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.1427, allocations: 7.938 kB / 0.5658 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1427, allocations: 7.938 kB / 0.5658 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.823e-05/0.1428, allocations: 129.6 kB / 0.5659 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1428, allocations: 0 / 0.5659 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000328/0.1431, allocations: 51.84 kB / 0.566 GB, free: 15.74 MB / 446.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.0003107/0.1434, allocations: 0.6501 MB / 0.5666 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.1436, allocations: 108.8 kB / 0.5667 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1436, allocations: 0 / 0.5667 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.1436, allocations: 28.23 kB / 0.5668 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1439, allocations: 12 kB / 0.5668 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1454, allocations: 1.771 MB / 0.5685 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1457, allocations: 0.7319 MB / 0.5692 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.576e-05/0.1458, allocations: 28.41 kB / 0.5692 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.1459, allocations: 35.42 kB / 0.5693 GB, free: 12.15 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1459, allocations: 4 kB / 0.5693 GB, free: 12.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.1571, allocations: 2.205 MB / 0.5714 GB, free: 10.06 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.1573, allocations: 220.2 kB / 0.5716 GB, free: 9.797 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.834, allocations: 0 / 0.5716 GB, free: 9.797 MB / 446.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)