Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001286/0.001286, allocations: 110.7 kB / 16.46 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.001317/0.001317, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.06/1.06, allocations: 175.8 MB / 478.4 MB, free: 8.594 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.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 64.16 kB / 0.6652 GB, free: 0.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2184, allocations: 94.54 MB / 0.7575 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.3748/0.5932, allocations: 4.937 MB / 0.7623 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004175/0.5974, allocations: 2.508 MB / 0.7648 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.5978, allocations: 28.72 kB / 0.7648 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.599, allocations: 403.7 kB / 0.7652 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.6008, allocations: 474.3 kB / 0.7656 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.6021, allocations: 397 kB / 0.766 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00121/0.6033, allocations: 0.9283 MB / 0.7669 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005098/0.6038, allocations: 293.2 kB / 0.7672 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.6043, allocations: 348.3 kB / 0.7675 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.6048, allocations: 370.6 kB / 0.7679 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.6048, allocations: 41.38 kB / 0.7679 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.6056, allocations: 414.8 kB / 0.7683 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.6057, allocations: 178.8 kB / 0.7685 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.606, allocations: 322.4 kB / 0.7688 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.607, allocations: 0.8862 MB / 0.7697 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.607, allocations: 1.219 kB / 0.7697 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.607, allocations: 0 / 0.7697 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.607, allocations: 3.938 kB / 0.7697 GB, free: 3.891 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.001592/0.6086, allocations: 0.9707 MB / 0.7706 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6087, allocations: 10.59 kB / 0.7706 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.6088, allocations: 93.77 kB / 0.7707 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.6102, allocations: 209.8 kB / 0.7709 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.6111, allocations: 0.558 MB / 0.7715 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.6111, allocations: 31.25 kB / 0.7715 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.6112, allocations: 45.02 kB / 0.7715 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.6123, allocations: 0.8492 MB / 0.7724 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.6123, allocations: 11.05 kB / 0.7724 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.6124, allocations: 25.45 kB / 0.7724 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.6125, allocations: 66.91 kB / 0.7725 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.6132, allocations: 0.569 MB / 0.773 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.6181, allocations: 5.649 MB / 0.7785 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.6188, allocations: 423.5 kB / 0.779 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.6191, allocations: 203.1 kB / 0.7791 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.6191, allocations: 5.938 kB / 0.7792 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.6192, allocations: 34.62 kB / 0.7792 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.385e-06/0.6192, allocations: 0 / 0.7792 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002601/0.6218, allocations: 1.51 MB / 0.7807 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.6218, allocations: 55.66 kB / 0.7807 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.6224, allocations: 0.5078 MB / 0.7812 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.6224, allocations: 31.92 kB / 0.7812 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.6227, allocations: 367.4 kB / 0.7816 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6228, allocations: 120.6 kB / 0.7817 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.623, allocations: 111.8 kB / 0.7818 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.6232, allocations: 369.6 kB / 0.7822 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.6234, allocations: 196.5 kB / 0.7823 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.6239, allocations: 444 kB / 0.7828 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.6247, allocations: 0.7004 MB / 0.7835 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6247, allocations: 3.844 kB / 0.7835 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00119/0.6259, allocations: 0.8078 MB / 0.7842 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6259, allocations: 9.094 kB / 0.7843 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6259, allocations: 13.41 kB / 0.7843 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.6264, allocations: 156.5 kB / 0.7844 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.6268, allocations: 126 kB / 0.7845 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.6304, allocations: 4.339 MB / 0.7888 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.6308, allocations: 34.05 kB / 0.7888 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.6309, allocations: 27.3 kB / 0.7888 GB, free: 4.641 MB / 0.5919 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.0002804/0.6312, allocations: 226.2 kB / 0.7891 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.6313, allocations: 68.72 kB / 0.7891 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009956/0.6322, allocations: 0.5925 MB / 0.7897 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.6323, allocations: 8.484 kB / 0.7897 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6323, allocations: 1.656 kB / 0.7897 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6323, allocations: 1.453 kB / 0.7897 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.6343, allocations: 1.261 MB / 0.7909 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6343, allocations: 2.625 kB / 0.7909 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.6346, allocations: 53.58 kB / 0.791 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.635, allocations: 147.6 kB / 0.7911 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.635, allocations: 11.59 kB / 0.7911 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/0.6388, allocations: 4.346 MB / 0.7954 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.6388, allocations: 5.688 kB / 0.7954 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.6402, allocations: 0.7105 MB / 0.7961 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.6405, allocations: 170.5 kB / 0.7963 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.6406, allocations: 13.95 kB / 0.7963 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.6409, allocations: 25.77 kB / 0.7963 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.641, allocations: 35.86 kB / 0.7963 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.641, allocations: 8 kB / 0.7963 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005312/0.6415, allocations: 339.9 kB / 0.7967 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6415, allocations: 0 / 0.7967 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007314/0.6422, allocations: 142.5 kB / 0.7968 GB, free: 14.31 MB / 0.6075 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.001438/0.6437, allocations: 1.264 MB / 0.798 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.6453, allocations: 1.014 MB / 0.799 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6453, allocations: 0 / 0.799 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/0.6462, allocations: 0.7169 MB / 0.7997 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.6472, allocations: 209.9 kB / 0.7999 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.655, allocations: 5.17 MB / 0.805 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.6557, allocations: 0.9136 MB / 0.8059 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004523/0.6561, allocations: 113.6 kB / 0.806 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.6564, allocations: 196.7 kB / 0.8062 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.6564, allocations: 0 / 0.8062 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05329/0.7097, allocations: 12.93 MB / 0.8188 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.51, allocations: 6.391 kB / 0.8188 GB, free: 2.805 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.260706921108067] Failed to read output from testmodel.py, exit status != 0: 11.60381986387074 11.618960704 11.008579837 Calling exit ...