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.001882/0.001882, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.002315/0.002315, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.077/1.077, allocations: 175.8 MB / 478.4 MB, free: 8.465 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.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.002002/0.002002, allocations: 63.86 kB / 0.6652 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1996, allocations: 94.54 MB / 0.7575 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.3546/0.5542, allocations: 3.11 MB / 0.7605 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.557, allocations: 1.925 MB / 0.7624 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.5571, allocations: 7.719 kB / 0.7624 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.5581, allocations: 277.6 kB / 0.7627 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.5586, allocations: 196 kB / 0.7629 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.5593, allocations: 252.2 kB / 0.7631 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.5597, allocations: 321.5 kB / 0.7634 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.56, allocations: 150 kB / 0.7636 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.5602, allocations: 135.9 kB / 0.7637 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.5605, allocations: 162.5 kB / 0.7639 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.5605, allocations: 19.81 kB / 0.7639 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006411/0.5611, allocations: 406.8 kB / 0.7643 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.5612, allocations: 95.33 kB / 0.7643 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.5614, allocations: 124.3 kB / 0.7645 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007404/0.5621, allocations: 490.1 kB / 0.7649 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5621, allocations: 0 / 0.7649 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5621, allocations: 1.469 kB / 0.7649 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5621, allocations: 0 / 0.7649 GB, free: 6.516 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.0008719/0.563, allocations: 0.5679 MB / 0.7655 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.563, allocations: 9.312 kB / 0.7655 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.759e-05/0.5631, allocations: 59.55 kB / 0.7656 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008191/0.5639, allocations: 107.3 kB / 0.7657 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.5642, allocations: 273.9 kB / 0.7659 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5643, allocations: 17.98 kB / 0.7659 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.5643, allocations: 22.19 kB / 0.766 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.5648, allocations: 358.4 kB / 0.7663 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5648, allocations: 0.875 kB / 0.7663 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.5649, allocations: 9.859 kB / 0.7663 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.5649, allocations: 21.47 kB / 0.7663 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.5654, allocations: 299.9 kB / 0.7666 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.5672, allocations: 1.726 MB / 0.7683 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.5676, allocations: 321.1 kB / 0.7686 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.5678, allocations: 105.2 kB / 0.7687 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.874e-05/0.5678, allocations: 92.48 kB / 0.7688 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.5679, allocations: 35.56 kB / 0.7688 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.5679, allocations: 0.6094 kB / 0.7688 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002438/0.5703, allocations: 0.9652 MB / 0.7698 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.5703, allocations: 84.05 kB / 0.7699 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.5705, allocations: 216.7 kB / 0.7701 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.5706, allocations: 26.61 kB / 0.7701 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.5706, allocations: 176.2 kB / 0.7703 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.5707, allocations: 88.28 kB / 0.7703 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.5708, allocations: 64.69 kB / 0.7704 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.5708, allocations: 329.6 kB / 0.7707 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.571, allocations: 134.6 kB / 0.7708 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.5713, allocations: 207.9 kB / 0.771 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.5717, allocations: 363.4 kB / 0.7714 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5717, allocations: 0.8438 kB / 0.7714 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008284/0.5725, allocations: 0.5056 MB / 0.7719 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5725, allocations: 5.734 kB / 0.7719 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5725, allocations: 3.344 kB / 0.7719 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005095/0.573, allocations: 158 kB / 0.772 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.5733, allocations: 57 kB / 0.7721 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.5763, allocations: 4.191 MB / 0.7762 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.5766, allocations: 21.81 kB / 0.7762 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.5766, allocations: 13.39 kB / 0.7762 GB, free: 13.73 MB / 0.5919 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.0001919/0.5768, allocations: 170.8 kB / 0.7764 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.5769, allocations: 23.53 kB / 0.7764 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008491/0.5777, allocations: 470.5 kB / 0.7769 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5777, allocations: 4.156 kB / 0.7769 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5777, allocations: 0 / 0.7769 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5777, allocations: 7.188 kB / 0.7769 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.5794, allocations: 1.01 MB / 0.7779 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5794, allocations: 6.281 kB / 0.7779 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.5795, allocations: 30.09 kB / 0.7779 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/0.5799, allocations: 144 kB / 0.778 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.5799, allocations: 8.281 kB / 0.778 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/0.5832, allocations: 4.165 MB / 0.7821 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5832, allocations: 2.656 kB / 0.7821 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.584, allocations: 0.6186 MB / 0.7827 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.5842, allocations: 135.4 kB / 0.7828 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.5842, allocations: 4.75 kB / 0.7828 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.5845, allocations: 19.31 kB / 0.7829 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.5845, allocations: 24.91 kB / 0.7829 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.5845, allocations: 13.23 kB / 0.7829 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001579/0.5847, allocations: 157.6 kB / 0.783 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5847, allocations: 0 / 0.783 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005489/0.5853, allocations: 86.14 kB / 0.7831 GB, free: 7.93 MB / 0.5919 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.001221/0.5865, allocations: 1.196 MB / 0.7843 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000957/0.5874, allocations: 0.5711 MB / 0.7849 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5874, allocations: 0 / 0.7849 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.588, allocations: 391.6 kB / 0.7852 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.5885, allocations: 45.81 kB / 0.7853 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.593, allocations: 3.326 MB / 0.7885 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.5934, allocations: 0.7781 MB / 0.7893 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.5936, allocations: 56.91 kB / 0.7893 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5937, allocations: 80.73 kB / 0.7894 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.5937, allocations: 0 / 0.7894 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05009/0.6438, allocations: 6.749 MB / 0.796 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.01, allocations: 9.938 kB / 0.796 GB, free: 2.402 MB / 0.5919 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.9170068372041] Failed to read output from testmodel.py, exit status != 0: 13.113077253103256 13.139658549 12.572096649 Calling exit ...