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.001284/0.001284, allocations: 107.3 kB / 16.4 MB, free: 6.504 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.00133/0.00133, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.462/1.462, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.132/1.132, allocations: 173.4 MB / 470.7 MB, free: 13.6 MB / 382.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.002112/0.002112, allocations: 68.73 kB / 0.6478 GB, free: 11.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1855, allocations: 89.53 MB / 0.7352 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004068/0.1896, allocations: 2.298 MB / 0.7375 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1911, allocations: 0.783 MB / 0.7382 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1913, allocations: 0 / 0.7382 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.1919, allocations: 151.4 kB / 0.7384 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.1922, allocations: 71.59 kB / 0.7384 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1924, allocations: 55.88 kB / 0.7385 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1927, allocations: 155.5 kB / 0.7386 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.1929, allocations: 93.06 kB / 0.7387 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1931, allocations: 71.7 kB / 0.7388 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1933, allocations: 67.67 kB / 0.7389 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.1934, allocations: 12 kB / 0.7389 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1935, allocations: 47.91 kB / 0.7389 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.1936, allocations: 35.91 kB / 0.739 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1937, allocations: 83.64 kB / 0.739 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.194, allocations: 163.3 kB / 0.7392 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.194, allocations: 0 / 0.7392 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.336e-06/0.194, allocations: 0 / 0.7392 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.194, allocations: 3.938 kB / 0.7392 GB, free: 14.19 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.0007923/0.1948, allocations: 498.3 kB / 0.7397 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1949, allocations: 8.031 kB / 0.7397 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.1949, allocations: 46.73 kB / 0.7397 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.1951, allocations: 28.78 kB / 0.7398 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1954, allocations: 218.2 kB / 0.74 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/0.1955, allocations: 38.45 kB / 0.74 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.1955, allocations: 11.94 kB / 0.74 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1958, allocations: 147.8 kB / 0.7402 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1958, allocations: 0 / 0.7402 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1958, allocations: 4 kB / 0.7402 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1959, allocations: 12 kB / 0.7402 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.1961, allocations: 87.88 kB / 0.7403 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/0.197, allocations: 0.6364 MB / 0.7409 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1972, allocations: 58.56 kB / 0.7409 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.1973, allocations: 28.91 kB / 0.741 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1974, allocations: 7.938 kB / 0.741 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1976, allocations: 145 kB / 0.7411 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 4.017e-06/0.1976, allocations: 3.984 kB / 0.7411 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.198, allocations: 171.2 kB / 0.7413 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.1981, allocations: 132.5 kB / 0.7414 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1983, allocations: 179.1 kB / 0.7416 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1984, allocations: 33.7 kB / 0.7416 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1985, allocations: 140 kB / 0.7417 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.1985, allocations: 19.86 kB / 0.7418 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.1986, allocations: 37.7 kB / 0.7418 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1988, allocations: 326.8 kB / 0.7421 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1989, allocations: 39.97 kB / 0.7421 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.1991, allocations: 109.4 kB / 0.7422 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1994, allocations: 230.4 kB / 0.7425 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1994, allocations: 0 / 0.7425 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004034/0.1998, allocations: 237 kB / 0.7427 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/0.1999, allocations: 75.36 kB / 0.7428 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1999, allocations: 4 kB / 0.7428 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1999, allocations: 4 kB / 0.7428 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.2, allocations: 31.92 kB / 0.7428 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2, allocations: 0 / 0.7428 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2002, allocations: 27.81 kB / 0.7428 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2002, allocations: 16 kB / 0.7428 GB, free: 10.05 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.0001579/0.2004, allocations: 167.5 kB / 0.743 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.2004, allocations: 19.84 kB / 0.743 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.2004, allocations: 13.41 kB / 0.743 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2005, allocations: 0 / 0.743 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2005, allocations: 3.938 kB / 0.743 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2005, allocations: 0 / 0.743 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2007, allocations: 221.5 kB / 0.7432 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2007, allocations: 0 / 0.7432 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.2008, allocations: 11.98 kB / 0.7433 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.2008, allocations: 3.938 kB / 0.7433 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2008, allocations: 4 kB / 0.7433 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2008, allocations: 7.938 kB / 0.7433 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2008, allocations: 0 / 0.7433 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.2013, allocations: 214.7 kB / 0.7435 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.2013, allocations: 85.02 kB / 0.7436 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.2014, allocations: 7.938 kB / 0.7436 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.2015, allocations: 11.98 kB / 0.7436 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.2015, allocations: 16.05 kB / 0.7436 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.2016, allocations: 0 / 0.7436 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001244/0.2017, allocations: 136.8 kB / 0.7437 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2017, allocations: 0 / 0.7437 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002454/0.2019, allocations: 32 kB / 0.7438 GB, free: 8.992 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.0007044/0.2027, allocations: 0.7548 MB / 0.7445 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.203, allocations: 222.6 kB / 0.7447 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2031, allocations: 0 / 0.7447 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.2032, allocations: 103.4 kB / 0.7448 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.2034, allocations: 20.67 kB / 0.7448 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.2058, allocations: 1.967 MB / 0.7467 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2062, allocations: 0.7158 MB / 0.7474 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.107e-05/0.2062, allocations: 20.62 kB / 0.7475 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.2063, allocations: 43.36 kB / 0.7475 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.2063, allocations: 0 / 0.7475 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.2326, allocations: 3.118 MB / 0.7505 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.405, allocations: 14.91 kB / 0.7506 GB, free: 1.875 MB / 0.5762 GB " [Timeout remaining time 652] (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.478169423062354] Failed to read output from testmodel.py, exit status != 0: 8.477028689347208 8.797687371 8.600973194 Calling exit ...