Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001734/0.001734, allocations: 106.3 kB / 16.4 MB, free: 6.508 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.001845/0.001845, allocations: 192.5 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.535/1.535, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.107/1.107, allocations: 173.5 MB / 470.7 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 178] 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.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.45 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1986, allocations: 89.52 MB / 0.7352 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005593/0.2042, allocations: 3.064 MB / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.2076, allocations: 1.924 MB / 0.7401 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.2078, allocations: 7.938 kB / 0.7401 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009406/0.2087, allocations: 282.9 kB / 0.7404 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.2092, allocations: 183.1 kB / 0.7406 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.21, allocations: 251.2 kB / 0.7408 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.2105, allocations: 326.9 kB / 0.7411 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.2109, allocations: 175.4 kB / 0.7413 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.2111, allocations: 135.5 kB / 0.7414 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.2115, allocations: 147.4 kB / 0.7416 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.2116, allocations: 20 kB / 0.7416 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007228/0.2123, allocations: 407.2 kB / 0.742 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2124, allocations: 87.73 kB / 0.742 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.2126, allocations: 123.4 kB / 0.7422 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007551/0.2134, allocations: 486.3 kB / 0.7426 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2134, allocations: 0 / 0.7426 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2134, allocations: 0 / 0.7426 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.2134, allocations: 4 kB / 0.7426 GB, free: 10.64 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009778/0.2144, allocations: 0.5714 MB / 0.7432 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2144, allocations: 8.031 kB / 0.7432 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.424e-05/0.2145, allocations: 62.7 kB / 0.7433 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.2153, allocations: 112.7 kB / 0.7434 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.2157, allocations: 275.9 kB / 0.7436 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.2158, allocations: 16.8 kB / 0.7436 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.2158, allocations: 20.31 kB / 0.7437 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.2164, allocations: 349.3 kB / 0.744 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2164, allocations: 4 kB / 0.744 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.2165, allocations: 12 kB / 0.744 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/0.2165, allocations: 24.36 kB / 0.744 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.217, allocations: 297.5 kB / 0.7443 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.2194, allocations: 1.726 MB / 0.746 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.22, allocations: 326.1 kB / 0.7463 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.2202, allocations: 109.6 kB / 0.7464 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.2203, allocations: 81.11 kB / 0.7465 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.2203, allocations: 42.5 kB / 0.7465 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.2203, allocations: 4 kB / 0.7465 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002558/0.2229, allocations: 0.956 MB / 0.7475 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.223, allocations: 89.05 kB / 0.7476 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.2232, allocations: 216.4 kB / 0.7478 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.2233, allocations: 33.7 kB / 0.7478 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2234, allocations: 172.5 kB / 0.748 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.2235, allocations: 91.2 kB / 0.748 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2236, allocations: 61.75 kB / 0.7481 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.2238, allocations: 334.8 kB / 0.7484 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.224, allocations: 131.9 kB / 0.7485 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.2243, allocations: 209.4 kB / 0.7487 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.2248, allocations: 361.2 kB / 0.7491 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2248, allocations: 0 / 0.7491 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009466/0.2258, allocations: 0.5112 MB / 0.7496 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2258, allocations: 8 kB / 0.7496 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2258, allocations: 4 kB / 0.7496 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.2264, allocations: 147.6 kB / 0.7497 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.2267, allocations: 67.89 kB / 0.7498 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3811/0.6078, allocations: 4.174 MB / 0.7539 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.6081, allocations: 22.03 kB / 0.7539 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.6082, allocations: 15.45 kB / 0.7539 GB, free: 16.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.6084, allocations: 163.6 kB / 0.7541 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.6085, allocations: 21.3 kB / 0.7541 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.6095, allocations: 477.6 kB / 0.7546 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.6095, allocations: 4.094 kB / 0.7546 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.6095, allocations: 1.438 kB / 0.7546 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.6095, allocations: 4.781 kB / 0.7546 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.6111, allocations: 0.9972 MB / 0.7555 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6111, allocations: 2.125 kB / 0.7555 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.6112, allocations: 40.23 kB / 0.7556 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.6116, allocations: 140.6 kB / 0.7557 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.6117, allocations: 9.766 kB / 0.7557 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.614, allocations: 4.164 MB / 0.7598 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.614, allocations: 2.938 kB / 0.7598 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.6148, allocations: 0.6299 MB / 0.7604 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.615, allocations: 128.8 kB / 0.7605 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.615, allocations: 4.156 kB / 0.7605 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.6152, allocations: 19.39 kB / 0.7606 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.6153, allocations: 30.81 kB / 0.7606 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.6153, allocations: 10.27 kB / 0.7606 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00017/0.6155, allocations: 157.4 kB / 0.7607 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6155, allocations: 0 / 0.7607 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006079/0.6161, allocations: 84.75 kB / 0.7608 GB, free: 11.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.6173, allocations: 1.201 MB / 0.762 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.6184, allocations: 0.5805 MB / 0.7626 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6185, allocations: 0 / 0.7626 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.619, allocations: 402.9 kB / 0.7629 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.6195, allocations: 45.77 kB / 0.763 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.6237, allocations: 3.333 MB / 0.7662 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.6239, allocations: 0.7816 MB / 0.767 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.6241, allocations: 62.98 kB / 0.7671 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.6242, allocations: 71.14 kB / 0.7671 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.6242, allocations: 0 / 0.7671 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.6632, allocations: 6.7 MB / 0.7737 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.79, allocations: 0.5938 kB / 0.7737 GB, free: 7.145 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.814185771159828] Failed to read output from testmodel.py, exit status != 0: 12.890353493858129 12.914727385 12.696917403 Calling exit ...