Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001412/0.001412, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001451/0.001451, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9736/0.9736, allocations: 175.7 MB / 480.1 MB, free: 2.82 MB / 366.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.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 75.8 kB / 0.6677 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1578, allocations: 94.53 MB / 0.7601 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002351/0.1601, allocations: 1.426 MB / 0.7614 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.1633, allocations: 2.713 MB / 0.7641 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.1633, allocations: 0 / 0.7641 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.1646, allocations: 0.5869 MB / 0.7647 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.1647, allocations: 23.91 kB / 0.7647 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.1647, allocations: 0 / 0.7647 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.1649, allocations: 166.9 kB / 0.7648 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.165, allocations: 12.41 kB / 0.7649 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.165, allocations: 55.73 kB / 0.7649 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1652, allocations: 79.58 kB / 0.765 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1652, allocations: 0 / 0.765 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.1662, allocations: 479.2 kB / 0.7654 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.1663, allocations: 31.84 kB / 0.7655 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1664, allocations: 103.4 kB / 0.7656 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.167, allocations: 438 kB / 0.766 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.167, allocations: 0 / 0.766 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.167, allocations: 4 kB / 0.766 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.1671, allocations: 0 / 0.766 GB, free: 10.71 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007079/0.1678, allocations: 0.5543 MB / 0.7665 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1678, allocations: 8.031 kB / 0.7665 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.1678, allocations: 106 kB / 0.7666 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.168, allocations: 108 kB / 0.7667 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1682, allocations: 310.4 kB / 0.767 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.1683, allocations: 154.9 kB / 0.7672 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.1684, allocations: 154.9 kB / 0.7673 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.548e-05/0.1684, allocations: 101.5 kB / 0.7674 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.1685, allocations: 79.22 kB / 0.7675 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.1685, allocations: 150.6 kB / 0.7677 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/0.1686, allocations: 154.6 kB / 0.7678 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.1686, allocations: 158.5 kB / 0.768 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.169, allocations: 0.5328 MB / 0.7685 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.1691, allocations: 165.1 kB / 0.7686 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.1691, allocations: 88.14 kB / 0.7687 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1692, allocations: 79.28 kB / 0.7688 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.1692, allocations: 109.8 kB / 0.7689 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1692, allocations: 3.938 kB / 0.7689 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001699/0.1694, allocations: 65.42 kB / 0.769 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.1694, allocations: 126.7 kB / 0.7691 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.1699, allocations: 437.3 kB / 0.7695 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1699, allocations: 25.7 kB / 0.7695 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.17, allocations: 136.6 kB / 0.7697 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.17, allocations: 0 / 0.7697 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.031e-05/0.1701, allocations: 93.66 kB / 0.7697 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1703, allocations: 338.8 kB / 0.7701 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1704, allocations: 96.5 kB / 0.7702 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.1705, allocations: 169.2 kB / 0.7703 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.1709, allocations: 301.7 kB / 0.7706 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1709, allocations: 0 / 0.7706 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004999/0.1714, allocations: 329 kB / 0.7709 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1714, allocations: 13.81 kB / 0.7709 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1714, allocations: 4.219 kB / 0.7709 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1714, allocations: 4 kB / 0.7709 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.895e-06/0.1714, allocations: 4 kB / 0.7709 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1714, allocations: 7.984 kB / 0.771 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1715, allocations: 47.52 kB / 0.771 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1716, allocations: 4 kB / 0.771 GB, free: 5.281 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.1718, allocations: 245 kB / 0.7712 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.098e-05/0.1718, allocations: 132.7 kB / 0.7714 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.1719, allocations: 115 kB / 0.7715 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-05/0.172, allocations: 180.2 kB / 0.7716 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.211e-05/0.172, allocations: 184.3 kB / 0.7718 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.926e-05/0.1721, allocations: 180.2 kB / 0.772 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.1724, allocations: 473.2 kB / 0.7724 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-05/0.1725, allocations: 105 kB / 0.7725 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.1725, allocations: 104.9 kB / 0.7726 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/0.1726, allocations: 188.2 kB / 0.7728 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.1727, allocations: 180.2 kB / 0.773 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.312e-05/0.1727, allocations: 176.3 kB / 0.7732 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.78e-05/0.1728, allocations: 180.5 kB / 0.7733 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.173, allocations: 339.6 kB / 0.7737 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1731, allocations: 201.9 kB / 0.7739 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1732, allocations: 192.1 kB / 0.774 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1733, allocations: 101 kB / 0.7741 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.1734, allocations: 192.2 kB / 0.7743 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.1735, allocations: 101 kB / 0.7744 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002834/0.1737, allocations: 275.1 kB / 0.7747 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1737, allocations: 0 / 0.7747 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003546/0.1741, allocations: 83.88 kB / 0.7748 GB, free: 1.219 MB / 0.5762 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006739/0.1748, allocations: 0.9676 MB / 0.7757 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.175, allocations: 115.9 kB / 0.7758 GB, free: 116 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.175, allocations: 0 / 0.7758 GB, free: 116 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.175, allocations: 4 kB / 0.7758 GB, free: 112 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.1754, allocations: 477.4 kB / 0.7763 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.1784, allocations: 2.932 MB / 0.7791 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1789, allocations: 0.7782 MB / 0.7799 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.1789, allocations: 7.906 kB / 0.7799 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.179, allocations: 51.42 kB / 0.78 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of SimCode: time 1.143e-06/0.179, allocations: 0 / 0.78 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.2079, allocations: 6.428 MB / 0.7862 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.683, allocations: 3.984 kB / 0.7862 GB, free: 5.367 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.090739506005775]