Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001827/0.001827, allocations: 111.2 kB / 16.45 MB, free: 6.488 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.002009/0.002009, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.466/1.466, 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.098/1.098, allocations: 175.8 MB / 478.4 MB, free: 8.484 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.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 64.09 kB / 0.6652 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2061, allocations: 94.54 MB / 0.7575 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.4198/0.626, allocations: 3.107 MB / 0.7605 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.6282, allocations: 1.351 MB / 0.7619 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.6283, allocations: 6.188 kB / 0.7619 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.6294, allocations: 337 kB / 0.7622 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.6297, allocations: 144.4 kB / 0.7623 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.6301, allocations: 139.4 kB / 0.7625 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.6304, allocations: 309 kB / 0.7627 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.6308, allocations: 183.6 kB / 0.7629 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.631, allocations: 119.5 kB / 0.763 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.6313, allocations: 149.1 kB / 0.7632 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.6313, allocations: 18.31 kB / 0.7632 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.6317, allocations: 176 kB / 0.7634 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.6318, allocations: 78.5 kB / 0.7634 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.6319, allocations: 111.8 kB / 0.7635 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.6324, allocations: 343.5 kB / 0.7639 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6324, allocations: 0.75 kB / 0.7639 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6324, allocations: 0 / 0.7639 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6324, allocations: 0 / 0.7639 GB, free: 6.797 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008073/0.6332, allocations: 0.5208 MB / 0.7644 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.6332, allocations: 9.125 kB / 0.7644 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.6333, allocations: 55.81 kB / 0.7644 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/0.6339, allocations: 84.5 kB / 0.7645 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.6341, allocations: 254.7 kB / 0.7648 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6342, allocations: 13.62 kB / 0.7648 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.6342, allocations: 15.12 kB / 0.7648 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.6346, allocations: 299 kB / 0.7651 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.6346, allocations: 5.719 kB / 0.7651 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.6347, allocations: 6.766 kB / 0.7651 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.6347, allocations: 18.81 kB / 0.7651 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.635, allocations: 194.8 kB / 0.7653 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.6362, allocations: 1.464 MB / 0.7667 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.6364, allocations: 174.4 kB / 0.7669 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.6364, allocations: 28.22 kB / 0.7669 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.6364, allocations: 5.469 kB / 0.7669 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.6365, allocations: 37.39 kB / 0.767 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.6365, allocations: 0 / 0.767 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004407/0.6369, allocations: 228.1 kB / 0.7672 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.6369, allocations: 52.38 kB / 0.7672 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.6371, allocations: 193.4 kB / 0.7674 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.6371, allocations: 30.45 kB / 0.7674 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.6372, allocations: 168.1 kB / 0.7676 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.6372, allocations: 23.08 kB / 0.7676 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.6372, allocations: 39.58 kB / 0.7677 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.6373, allocations: 326.4 kB / 0.768 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.6373, allocations: 49.72 kB / 0.768 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.6374, allocations: 95.34 kB / 0.7681 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.6376, allocations: 144.1 kB / 0.7682 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6376, allocations: 1.062 kB / 0.7682 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002833/0.6378, allocations: 191.4 kB / 0.7684 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6379, allocations: 7.797 kB / 0.7684 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6379, allocations: 5.031 kB / 0.7684 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.638, allocations: 26.59 kB / 0.7685 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.6381, allocations: 29.83 kB / 0.7685 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.6392, allocations: 1.418 MB / 0.7699 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.6393, allocations: 24.55 kB / 0.7699 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.6393, allocations: 9.969 kB / 0.7699 GB, free: 17.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.6395, allocations: 148.9 kB / 0.7701 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.6395, allocations: 15.19 kB / 0.7701 GB, free: 17.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.6396, allocations: 21.44 kB / 0.7701 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6396, allocations: 6.312 kB / 0.7701 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6396, allocations: 0.875 kB / 0.7701 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.6396, allocations: 1.062 kB / 0.7701 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.6401, allocations: 448.1 kB / 0.7705 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6401, allocations: 0.6562 kB / 0.7705 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.6401, allocations: 6.344 kB / 0.7705 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-05/0.6402, allocations: 22.77 kB / 0.7706 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.6402, allocations: 5.906 kB / 0.7706 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.6412, allocations: 1.415 MB / 0.7719 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6412, allocations: 0 / 0.7719 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.6415, allocations: 216.6 kB / 0.7721 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/0.6416, allocations: 103.6 kB / 0.7722 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.6416, allocations: 4.516 kB / 0.7722 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.6417, allocations: 2.5 kB / 0.7723 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.6417, allocations: 9.594 kB / 0.7723 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.6417, allocations: 3.031 kB / 0.7723 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001295/0.6418, allocations: 143.1 kB / 0.7724 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6418, allocations: 0 / 0.7724 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003538/0.6422, allocations: 52.33 kB / 0.7725 GB, free: 15.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000572/0.6428, allocations: 0.7496 MB / 0.7732 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.6431, allocations: 204.5 kB / 0.7734 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6431, allocations: 0 / 0.7734 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.6433, allocations: 151 kB / 0.7735 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.6436, allocations: 37.97 kB / 0.7736 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.6458, allocations: 2.052 MB / 0.7756 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.6462, allocations: 0.7541 MB / 0.7763 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.6463, allocations: 20.64 kB / 0.7763 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.6463, allocations: 60.83 kB / 0.7764 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.6463, allocations: 0 / 0.7764 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.6763, allocations: 3.744 MB / 0.78 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.944/10.62, allocations: 10.98 kB / 0.78 GB, free: 11.65 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.568597600795329] Failed to read output from testmodel.py, exit status != 0: 10.703984056133777 10.728841487 10.091427793 Calling exit ...