Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_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.001023/0.001023, allocations: 99.12 kB / 16.02 MB, free: 80 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.00103/0.00103, allocations: 182.4 kB / 16.92 MB, free: 6.707 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.297/1.297, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6707/0.6707, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8.281 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 77.54 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003084/0.1346, allocations: 2.743 MB / 0.5627 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.137, allocations: 1.691 MB / 0.5644 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.137, allocations: 7.938 kB / 0.5644 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.1372, allocations: 35.7 kB / 0.5644 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.1375, allocations: 199.3 kB / 0.5646 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.1379, allocations: 163.7 kB / 0.5648 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.1383, allocations: 466.8 kB / 0.5652 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007692/0.1391, allocations: 0.5399 MB / 0.5658 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1392, allocations: 107.5 kB / 0.5659 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1394, allocations: 143.5 kB / 0.566 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1395, allocations: 12 kB / 0.566 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.1399, allocations: 287.4 kB / 0.5663 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.072e-05/0.14, allocations: 95.77 kB / 0.5664 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1401, allocations: 133.1 kB / 0.5665 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.1405, allocations: 418.7 kB / 0.5669 GB, free: 1.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1405, allocations: 0 / 0.5669 GB, free: 1.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1405, allocations: 0 / 0.5669 GB, free: 1.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1405, allocations: 3.938 kB / 0.5669 GB, free: 1.863 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006999/0.1412, allocations: 0.503 MB / 0.5674 GB, free: 1.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.584e-05/0.1413, allocations: 16.03 kB / 0.5674 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.1413, allocations: 58.72 kB / 0.5675 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000644/0.142, allocations: 92.55 kB / 0.5675 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1422, allocations: 251.9 kB / 0.5678 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1423, allocations: 12.81 kB / 0.5678 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.583e-05/0.1423, allocations: 32.55 kB / 0.5678 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.1429, allocations: 376.9 kB / 0.5682 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1429, allocations: 0 / 0.5682 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.1429, allocations: 11.98 kB / 0.5682 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-05/0.143, allocations: 28.42 kB / 0.5682 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.1434, allocations: 305.5 kB / 0.5685 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.145, allocations: 1.537 MB / 0.57 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.1453, allocations: 230.4 kB / 0.5702 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.1455, allocations: 116.8 kB / 0.5704 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.1456, allocations: 89.09 kB / 0.5704 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1457, allocations: 38.56 kB / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.1457, allocations: 0 / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001029/0.1467, allocations: 0.7903 MB / 0.5712 GB, free: 13.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1467, allocations: 63.36 kB / 0.5713 GB, free: 12.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1469, allocations: 182.7 kB / 0.5715 GB, free: 12.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1469, allocations: 33.7 kB / 0.5715 GB, free: 12.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.147, allocations: 163.7 kB / 0.5717 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.1471, allocations: 71.11 kB / 0.5717 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.1471, allocations: 29.7 kB / 0.5718 GB, free: 12.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.1472, allocations: 330.8 kB / 0.5721 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1474, allocations: 111.9 kB / 0.5722 GB, free: 12.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1476, allocations: 174.9 kB / 0.5724 GB, free: 11.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.1479, allocations: 300.3 kB / 0.5726 GB, free: 11.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1479, allocations: 0 / 0.5726 GB, free: 11.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006689/0.1486, allocations: 421.3 kB / 0.573 GB, free: 11.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1486, allocations: 8 kB / 0.5731 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.1486, allocations: 0 / 0.5731 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.149, allocations: 104.9 kB / 0.5732 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1492, allocations: 51.91 kB / 0.5732 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.1508, allocations: 1.73 MB / 0.5749 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.151, allocations: 16.02 kB / 0.5749 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1511, allocations: 12 kB / 0.5749 GB, free: 9.059 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.1512, allocations: 165.7 kB / 0.5751 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.1513, allocations: 23.81 kB / 0.5751 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.1517, allocations: 295.2 kB / 0.5754 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1517, allocations: 4 kB / 0.5754 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1517, allocations: 0 / 0.5754 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1517, allocations: 3.938 kB / 0.5754 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/0.1525, allocations: 0.7091 MB / 0.5761 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1525, allocations: 7.984 kB / 0.5761 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.1528, allocations: 47.97 kB / 0.5761 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1528, allocations: 7.984 kB / 0.5761 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1528, allocations: 4 kB / 0.5761 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1528, allocations: 4 kB / 0.5761 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1528, allocations: 7.875 kB / 0.5762 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.1534, allocations: 0.5105 MB / 0.5767 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.1535, allocations: 116.9 kB / 0.5768 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.1535, allocations: 4.062 kB / 0.5768 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1537, allocations: 19.92 kB / 0.5768 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1537, allocations: 11.98 kB / 0.5768 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1538, allocations: 4 kB / 0.5768 GB, free: 7.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1539, allocations: 144.1 kB / 0.5769 GB, free: 6.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1539, allocations: 4.062 kB / 0.5769 GB, free: 6.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.1542, allocations: 71.98 kB / 0.577 GB, free: 6.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.000787/0.155, allocations: 1.057 MB / 0.578 GB, free: 5.703 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005882/0.1556, allocations: 414.5 kB / 0.5784 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1556, allocations: 3.938 kB / 0.5784 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1558, allocations: 131.8 kB / 0.5786 GB, free: 5.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1561, allocations: 30.38 kB / 0.5786 GB, free: 5.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.1594, allocations: 3.025 MB / 0.5816 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1597, allocations: 0.7675 MB / 0.5823 GB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.1599, allocations: 61.89 kB / 0.5824 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.16, allocations: 63.42 kB / 0.5824 GB, free: 1.055 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.16, allocations: 0 / 0.5824 GB, free: 1.055 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7482/0.9082, allocations: 4.661 MB / 0.587 GB, free: 30.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.9084, allocations: 236.7 kB / 0.5872 GB, free: 30.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.645, allocations: 0 / 0.5872 GB, free: 30.08 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)