Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9694/0.9694, allocations: 175.7 MB / 480.1 MB, free: 2.848 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 63.53 kB / 0.6677 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1587, allocations: 94.54 MB / 0.7601 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004618/0.1633, allocations: 3.173 MB / 0.7632 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.166, allocations: 1.784 MB / 0.7649 GB, free: 11.92 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.807e-05/0.1661, allocations: 7.938 kB / 0.7649 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.000957/0.1671, allocations: 350.6 kB / 0.7653 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.1675, allocations: 223 kB / 0.7655 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.1679, allocations: 178.7 kB / 0.7656 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.1683, allocations: 311 kB / 0.7659 GB, free: 10.87 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.1686, allocations: 160.8 kB / 0.7661 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.1687, allocations: 139.5 kB / 0.7662 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.1691, allocations: 175.4 kB / 0.7664 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1691, allocations: 24 kB / 0.7664 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.1695, allocations: 251.5 kB / 0.7666 GB, free: 10.13 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1696, allocations: 99.72 kB / 0.7667 GB, free: 10.03 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1697, allocations: 123.4 kB / 0.7669 GB, free: 9.91 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.1703, allocations: 418.5 kB / 0.7673 GB, free: 9.5 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1703, allocations: 3.938 kB / 0.7673 GB, free: 9.496 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1703, allocations: 0 / 0.7673 GB, free: 9.496 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1703, allocations: 0 / 0.7673 GB, free: 9.496 MB / 0.5763 GB 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.0008775/0.1711, allocations: 0.5571 MB / 0.7678 GB, free: 8.891 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1712, allocations: 12.03 kB / 0.7678 GB, free: 8.879 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.1712, allocations: 62.7 kB / 0.7679 GB, free: 8.809 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.1719, allocations: 92.69 kB / 0.768 GB, free: 8.719 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1722, allocations: 257.5 kB / 0.7682 GB, free: 8.43 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1723, allocations: 20.8 kB / 0.7682 GB, free: 8.41 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/0.1723, allocations: 24.55 kB / 0.7683 GB, free: 8.387 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.1729, allocations: 376.9 kB / 0.7686 GB, free: 8 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1729, allocations: 4 kB / 0.7686 GB, free: 7.996 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.1729, allocations: 8 kB / 0.7686 GB, free: 7.988 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-05/0.173, allocations: 28.41 kB / 0.7687 GB, free: 7.957 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.1735, allocations: 305.5 kB / 0.7689 GB, free: 7.66 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.1752, allocations: 1.529 MB / 0.7704 GB, free: 5.98 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.1756, allocations: 228 kB / 0.7707 GB, free: 5.75 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.1758, allocations: 104.8 kB / 0.7708 GB, free: 5.645 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.1759, allocations: 89.05 kB / 0.7708 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.176, allocations: 38.55 kB / 0.7709 GB, free: 5.492 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.176, allocations: 0 / 0.7709 GB, free: 5.492 MB / 0.5763 GB Notification: Performance of matching and sorting (n=19): time 0.001224/0.1772, allocations: 0.7947 MB / 0.7717 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1772, allocations: 55.41 kB / 0.7717 GB, free: 4.582 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1774, allocations: 199.1 kB / 0.7719 GB, free: 4.375 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1775, allocations: 33.64 kB / 0.7719 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.1776, allocations: 156.2 kB / 0.7721 GB, free: 4.18 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.1776, allocations: 79.38 kB / 0.7722 GB, free: 4.102 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.1777, allocations: 49.7 kB / 0.7722 GB, free: 4.047 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1779, allocations: 334.8 kB / 0.7725 GB, free: 3.711 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.178, allocations: 111.9 kB / 0.7726 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1782, allocations: 167.8 kB / 0.7728 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.1786, allocations: 297.1 kB / 0.7731 GB, free: 3.109 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1786, allocations: 4 kB / 0.7731 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007354/0.1794, allocations: 406.1 kB / 0.7735 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1794, allocations: 12.03 kB / 0.7735 GB, free: 2.688 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1794, allocations: 3.984 kB / 0.7735 GB, free: 2.684 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.1798, allocations: 100.8 kB / 0.7736 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.18, allocations: 47.91 kB / 0.7736 GB, free: 2.535 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.182, allocations: 1.884 MB / 0.7755 GB, free: 0.5117 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1822, allocations: 27.94 kB / 0.7755 GB, free: 496 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1822, allocations: 15.94 kB / 0.7755 GB, free: 480 kB / 0.5763 GB 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.0001558/0.1823, allocations: 149.8 kB / 0.7756 GB, free: 320 kB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.1824, allocations: 23.84 kB / 0.7757 GB, free: 296 kB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.1829, allocations: 299.4 kB / 0.776 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1829, allocations: 4 kB / 0.776 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.1829, allocations: 0 / 0.776 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1829, allocations: 3.938 kB / 0.776 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008926/0.1838, allocations: 0.6952 MB / 0.7766 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1838, allocations: 8.062 kB / 0.7766 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.1841, allocations: 51.95 kB / 0.7767 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1841, allocations: 7.938 kB / 0.7767 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1841, allocations: 4 kB / 0.7767 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1841, allocations: 4 kB / 0.7767 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1841, allocations: 3.938 kB / 0.7767 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.1847, allocations: 0.5243 MB / 0.7772 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1848, allocations: 117 kB / 0.7773 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1849, allocations: 3.984 kB / 0.7773 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.185, allocations: 15.98 kB / 0.7774 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.1851, allocations: 7.984 kB / 0.7774 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1851, allocations: 11.98 kB / 0.7774 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001449/0.1852, allocations: 148.6 kB / 0.7775 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1852, allocations: 0 / 0.7775 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003467/0.1856, allocations: 71.94 kB / 0.7776 GB, free: 14.21 MB / 0.5919 GB 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.001001/0.1866, allocations: 1.058 MB / 0.7786 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007106/0.1873, allocations: 407.5 kB / 0.779 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1873, allocations: 3.938 kB / 0.779 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1875, allocations: 119.8 kB / 0.7791 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1878, allocations: 34.73 kB / 0.7792 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.1916, allocations: 2.896 MB / 0.782 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.1921, allocations: 0.779 MB / 0.7827 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.1922, allocations: 57.89 kB / 0.7828 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1923, allocations: 63.42 kB / 0.7829 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.1923, allocations: 0 / 0.7829 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.2232, allocations: 5.114 MB / 0.7879 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.938/9.161, allocations: 3.984 kB / 0.7879 GB, free: 3.598 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.540820713998983]