Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.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.001291/0.001291, allocations: 105.2 kB / 16.45 MB, free: 6.445 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.001291/0.001291, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] 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 1.136/1.136, allocations: 175.8 MB / 478.4 MB, free: 3.391 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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 66.88 kB / 0.6652 GB, free: 11.19 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 94.54 MB / 0.7575 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004136/0.1809, allocations: 2.323 MB / 0.7598 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1822, allocations: 0.7869 MB / 0.7605 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.1823, allocations: 4 kB / 0.7605 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.1829, allocations: 151.4 kB / 0.7607 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1831, allocations: 63.61 kB / 0.7607 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1833, allocations: 55.88 kB / 0.7608 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1835, allocations: 155.5 kB / 0.7609 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.1837, allocations: 84.05 kB / 0.761 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1838, allocations: 71.7 kB / 0.7611 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.184, allocations: 75.67 kB / 0.7612 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.184, allocations: 12 kB / 0.7612 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1841, allocations: 55.89 kB / 0.7612 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.1842, allocations: 39.84 kB / 0.7613 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.659e-05/0.1843, allocations: 67.66 kB / 0.7613 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1846, allocations: 167.3 kB / 0.7615 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1846, allocations: 4 kB / 0.7615 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1846, allocations: 0 / 0.7615 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1846, allocations: 0 / 0.7615 GB, free: 13.51 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007658/0.1853, allocations: 498.3 kB / 0.762 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1854, allocations: 8.031 kB / 0.762 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.1854, allocations: 46.73 kB / 0.762 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.1856, allocations: 28.83 kB / 0.762 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1859, allocations: 209.7 kB / 0.7622 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.186, allocations: 42.39 kB / 0.7623 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.186, allocations: 23.86 kB / 0.7623 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.1863, allocations: 144.2 kB / 0.7624 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1863, allocations: 0 / 0.7624 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1863, allocations: 0 / 0.7624 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.1864, allocations: 11.98 kB / 0.7625 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.1866, allocations: 87.89 kB / 0.7625 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009567/0.1875, allocations: 0.6403 MB / 0.7632 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1877, allocations: 54.55 kB / 0.7632 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.1878, allocations: 24.92 kB / 0.7632 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1878, allocations: 4 kB / 0.7632 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.1881, allocations: 142.9 kB / 0.7634 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1881, allocations: 0 / 0.7634 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003883/0.1885, allocations: 163.2 kB / 0.7635 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.1885, allocations: 136.5 kB / 0.7637 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1887, allocations: 178.8 kB / 0.7638 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1888, allocations: 33.7 kB / 0.7639 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1889, allocations: 144 kB / 0.764 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1889, allocations: 27.78 kB / 0.764 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.189, allocations: 33.72 kB / 0.7641 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1891, allocations: 322.8 kB / 0.7644 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1892, allocations: 43.91 kB / 0.7644 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1894, allocations: 113.4 kB / 0.7645 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.1897, allocations: 226.4 kB / 0.7647 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1897, allocations: 0 / 0.7647 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004118/0.1901, allocations: 240.7 kB / 0.765 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.1902, allocations: 71.33 kB / 0.765 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1902, allocations: 4 kB / 0.765 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1902, allocations: 7.938 kB / 0.765 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1903, allocations: 31.92 kB / 0.7651 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1904, allocations: 4.312 kB / 0.7651 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1905, allocations: 23.88 kB / 0.7651 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1905, allocations: 12 kB / 0.7651 GB, free: 9.371 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001591/0.1907, allocations: 170.6 kB / 0.7653 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1907, allocations: 19.84 kB / 0.7653 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.1907, allocations: 13.41 kB / 0.7653 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1907, allocations: 3.984 kB / 0.7653 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1908, allocations: 0 / 0.7653 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1908, allocations: 4 kB / 0.7653 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.191, allocations: 213.6 kB / 0.7655 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.191, allocations: 4 kB / 0.7655 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.1911, allocations: 11.98 kB / 0.7655 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1911, allocations: 11.88 kB / 0.7655 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1911, allocations: 0 / 0.7655 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1911, allocations: 0 / 0.7655 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1911, allocations: 0 / 0.7655 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.1915, allocations: 219 kB / 0.7658 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.1916, allocations: 89 kB / 0.7658 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1916, allocations: 7.969 kB / 0.7658 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.1917, allocations: 8 kB / 0.7659 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.1918, allocations: 11.98 kB / 0.7659 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1918, allocations: 4.031 kB / 0.7659 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001282/0.1919, allocations: 141.1 kB / 0.766 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1919, allocations: 0 / 0.766 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002577/0.1922, allocations: 28.06 kB / 0.766 GB, free: 8.316 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0007527/0.1929, allocations: 0.7623 MB / 0.7668 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.1933, allocations: 211.3 kB / 0.767 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1933, allocations: 4 kB / 0.767 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1934, allocations: 83.39 kB / 0.7671 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1937, allocations: 22.33 kB / 0.7671 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.1961, allocations: 1.963 MB / 0.769 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1965, allocations: 0.7158 MB / 0.7697 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.132e-05/0.1966, allocations: 20.62 kB / 0.7697 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.1967, allocations: 39.42 kB / 0.7698 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.1967, allocations: 0 / 0.7698 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2246, allocations: 3.118 MB / 0.7728 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.503, allocations: 4 kB / 0.7728 GB, free: 1.223 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.368891858961433] Failed to read output from testmodel.py, exit status != 0: 8.571470142807811 8.587753798 8.400234032 Calling exit ...