Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001904/0.001903, allocations: 110.1 kB / 16.4 MB, free: 6.5 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.002091/0.002091, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.451/1.451, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.104/1.104, allocations: 173.4 MB / 470.7 MB, free: 13.63 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.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 71.55 kB / 0.6478 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1964, allocations: 89.52 MB / 0.7353 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007104/0.2035, allocations: 4.851 MB / 0.74 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004458/0.208, allocations: 2.448 MB / 0.7424 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004844/0.2085, allocations: 23.81 kB / 0.7424 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.2099, allocations: 397.9 kB / 0.7428 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.2111, allocations: 453.6 kB / 0.7432 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.212, allocations: 378.1 kB / 0.7436 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.2133, allocations: 0.9174 MB / 0.7445 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.2139, allocations: 346.5 kB / 0.7448 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000576/0.2145, allocations: 342.6 kB / 0.7451 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.2151, allocations: 346.5 kB / 0.7455 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.589e-05/0.2152, allocations: 40 kB / 0.7455 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007777/0.216, allocations: 399.1 kB / 0.7459 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.2162, allocations: 183.4 kB / 0.7461 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.2166, allocations: 322.2 kB / 0.7464 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.2179, allocations: 0.8792 MB / 0.7472 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2179, allocations: 0 / 0.7472 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2179, allocations: 4 kB / 0.7472 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.378e-05/0.2179, allocations: 0 / 0.7472 GB, free: 5.906 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001716/0.2196, allocations: 0.9532 MB / 0.7482 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2197, allocations: 12.03 kB / 0.7482 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.2198, allocations: 94.62 kB / 0.7483 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.2212, allocations: 212.2 kB / 0.7485 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/0.2222, allocations: 0.5456 MB / 0.749 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.2222, allocations: 29.38 kB / 0.749 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.2223, allocations: 52.3 kB / 0.7491 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2236, allocations: 0.8446 MB / 0.7499 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.2237, allocations: 7.938 kB / 0.7499 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.2237, allocations: 23.98 kB / 0.7499 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.492e-05/0.2238, allocations: 60.95 kB / 0.75 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009465/0.2248, allocations: 0.5734 MB / 0.7505 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3516/0.5764, allocations: 5.64 MB / 0.7561 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/0.5773, allocations: 453.4 kB / 0.7565 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.5777, allocations: 228 kB / 0.7567 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.5778, allocations: 4.625 kB / 0.7567 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.5778, allocations: 39.53 kB / 0.7567 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.384e-06/0.5778, allocations: 0 / 0.7567 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002611/0.5804, allocations: 1.51 MB / 0.7582 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.5805, allocations: 62.2 kB / 0.7583 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/0.5811, allocations: 0.4914 MB / 0.7588 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.5811, allocations: 34.02 kB / 0.7588 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.5813, allocations: 360.6 kB / 0.7591 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/0.5814, allocations: 124.5 kB / 0.7593 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.5816, allocations: 112.5 kB / 0.7594 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5817, allocations: 363.2 kB / 0.7597 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.582, allocations: 199.4 kB / 0.7599 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.5825, allocations: 449 kB / 0.7603 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.5833, allocations: 0.6853 MB / 0.761 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.5833, allocations: 2.156 kB / 0.761 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001431/0.5848, allocations: 0.8096 MB / 0.7618 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5848, allocations: 10.36 kB / 0.7618 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.5848, allocations: 9.438 kB / 0.7618 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.5854, allocations: 159.8 kB / 0.762 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.5858, allocations: 122 kB / 0.7621 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.5884, allocations: 4.343 MB / 0.7663 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.5889, allocations: 33.61 kB / 0.7663 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.589, allocations: 35.11 kB / 0.7664 GB, free: 8.094 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.5893, allocations: 210.4 kB / 0.7666 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.5894, allocations: 63.5 kB / 0.7666 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000952/0.5904, allocations: 0.6063 MB / 0.7672 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5904, allocations: 2.781 kB / 0.7672 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5904, allocations: 5.562 kB / 0.7672 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5904, allocations: 1.312 kB / 0.7672 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.592, allocations: 1.262 MB / 0.7685 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5921, allocations: 6.469 kB / 0.7685 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.5923, allocations: 56.42 kB / 0.7685 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/0.5927, allocations: 143.1 kB / 0.7687 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.5927, allocations: 12 kB / 0.7687 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.5949, allocations: 4.336 MB / 0.7729 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5949, allocations: 3.188 kB / 0.7729 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.5958, allocations: 0.7102 MB / 0.7736 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.596, allocations: 170.5 kB / 0.7738 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.5961, allocations: 14.97 kB / 0.7738 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.5964, allocations: 21.98 kB / 0.7738 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.5965, allocations: 34 kB / 0.7738 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.5965, allocations: 11.62 kB / 0.7739 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003308/0.5968, allocations: 331.7 kB / 0.7742 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5968, allocations: 4 kB / 0.7742 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006412/0.5975, allocations: 141.5 kB / 0.7743 GB, free: 2.773 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.5985, allocations: 1.262 MB / 0.7755 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.5998, allocations: 1.039 MB / 0.7766 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5998, allocations: 0.8438 kB / 0.7766 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.6004, allocations: 0.7389 MB / 0.7773 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.6014, allocations: 202.7 kB / 0.7775 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007031/0.6085, allocations: 5.116 MB / 0.7825 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.6092, allocations: 0.9091 MB / 0.7834 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004209/0.6097, allocations: 115.6 kB / 0.7835 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.6099, allocations: 196.6 kB / 0.7837 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of SimCode: time 1.402e-06/0.6099, allocations: 0.7188 kB / 0.7837 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/0.6631, allocations: 12.69 MB / 0.796 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.33, allocations: 18.03 kB / 0.7961 GB, free: 10.84 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.271268630865961] Failed to read output from testmodel.py, exit status != 0: 11.415080385282636 11.435668834 11.214041957 Calling exit ...