Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005194/0.005194, allocations: 101.3 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 196.6 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 222.9 MB / 240.5 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6435/0.6435, allocations: 115.3 MB / 405.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 493 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.293, allocations: 76.16 MB / 0.5558 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002079/0.2952, allocations: 1.446 MB / 0.5572 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2968, allocations: 1.912 MB / 0.5591 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.2968, allocations: 0 / 0.5591 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.2975, allocations: 370.7 kB / 0.5595 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.2976, allocations: 21.31 kB / 0.5595 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.691e-06/0.2976, allocations: 0.5 kB / 0.5595 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.2978, allocations: 138.7 kB / 0.5596 GB, free: 33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.2979, allocations: 19.39 kB / 0.5596 GB, free: 33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.2979, allocations: 44.05 kB / 0.5597 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.298, allocations: 68.14 kB / 0.5597 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.298, allocations: 2.469 kB / 0.5597 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.2984, allocations: 181.3 kB / 0.5599 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.2985, allocations: 25.19 kB / 0.5599 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.2986, allocations: 76.36 kB / 0.56 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.2989, allocations: 289.8 kB / 0.5603 GB, free: 32.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2989, allocations: 0 / 0.5603 GB, free: 32.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.299, allocations: 1.406 kB / 0.5603 GB, free: 32.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.299, allocations: 1.844 kB / 0.5603 GB, free: 32.77 MB / 446.1 MB 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.0005453/0.2995, allocations: 488.3 kB / 0.5608 GB, free: 32.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2996, allocations: 17.94 kB / 0.5608 GB, free: 32.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.2996, allocations: 110.6 kB / 0.5609 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.2997, allocations: 96.14 kB / 0.561 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.2999, allocations: 292.6 kB / 0.5612 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.2999, allocations: 155.9 kB / 0.5614 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.3, allocations: 154.3 kB / 0.5615 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.971e-05/0.3, allocations: 110.3 kB / 0.5616 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3, allocations: 77.53 kB / 0.5617 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.3001, allocations: 151.7 kB / 0.5619 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.3001, allocations: 151.9 kB / 0.562 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.3001, allocations: 156.3 kB / 0.5622 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.3004, allocations: 0.5053 MB / 0.5627 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/0.3004, allocations: 171.5 kB / 0.5628 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.3004, allocations: 81.2 kB / 0.5629 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.3004, allocations: 81.31 kB / 0.563 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3005, allocations: 110.7 kB / 0.5631 GB, free: 29.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.3005, allocations: 3.109 kB / 0.5631 GB, free: 29.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001485/0.3006, allocations: 46.89 kB / 0.5631 GB, free: 29.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.3007, allocations: 131.9 kB / 0.5633 GB, free: 29.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.301, allocations: 324.4 kB / 0.5636 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.301, allocations: 25.7 kB / 0.5636 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.301, allocations: 109.2 kB / 0.5637 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.301, allocations: 0.5938 kB / 0.5637 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3011, allocations: 67.03 kB / 0.5638 GB, free: 29.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.3012, allocations: 330.3 kB / 0.5641 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.3013, allocations: 69.62 kB / 0.5641 GB, free: 29.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3014, allocations: 121.6 kB / 0.5643 GB, free: 28.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3016, allocations: 210.5 kB / 0.5645 GB, free: 28.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3016, allocations: 0 / 0.5645 GB, free: 28.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003783/0.302, allocations: 243.1 kB / 0.5647 GB, free: 28.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.302, allocations: 7.219 kB / 0.5647 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.302, allocations: 1.531 kB / 0.5647 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.302, allocations: 2.75 kB / 0.5647 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.302, allocations: 3.703 kB / 0.5647 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.302, allocations: 7.094 kB / 0.5647 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3022, allocations: 26.81 kB / 0.5647 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3022, allocations: 8.938 kB / 0.5647 GB, free: 28.74 MB / 446.1 MB 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.0001422/0.3023, allocations: 225.1 kB / 0.565 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.3024, allocations: 128.8 kB / 0.5651 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.3024, allocations: 111.5 kB / 0.5652 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.3024, allocations: 183.4 kB / 0.5654 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.3025, allocations: 178.3 kB / 0.5655 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.3025, allocations: 186 kB / 0.5657 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.3027, allocations: 454.5 kB / 0.5661 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.3027, allocations: 112.1 kB / 0.5662 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.3027, allocations: 105.5 kB / 0.5663 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/0.3027, allocations: 179.4 kB / 0.5665 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.3028, allocations: 180.7 kB / 0.5667 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/0.3028, allocations: 183.3 kB / 0.5669 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.338e-05/0.3028, allocations: 178.1 kB / 0.567 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.611e-05/0.3029, allocations: 319.8 kB / 0.5673 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.303, allocations: 201.9 kB / 0.5675 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.303, allocations: 183.2 kB / 0.5677 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.3031, allocations: 107.6 kB / 0.5678 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.3032, allocations: 189.5 kB / 0.568 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.3032, allocations: 103 kB / 0.5681 GB, free: 25.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.3034, allocations: 214.4 kB / 0.5683 GB, free: 25.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3034, allocations: 0 / 0.5683 GB, free: 25.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.3037, allocations: 65.62 kB / 0.5684 GB, free: 25.11 MB / 446.1 MB 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.0003626/0.3041, allocations: 0.9257 MB / 0.5693 GB, free: 24.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3042, allocations: 104.6 kB / 0.5694 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3042, allocations: 0 / 0.5694 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3042, allocations: 1.75 kB / 0.5694 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3045, allocations: 0.5288 MB / 0.5699 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.3065, allocations: 2.431 MB / 0.5723 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3067, allocations: 0.7424 MB / 0.573 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.467e-05/0.3067, allocations: 2.859 kB / 0.573 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.3067, allocations: 39.95 kB / 0.573 GB, free: 21.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3067, allocations: 0 / 0.573 GB, free: 21.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/0.3537, allocations: 4.629 MB / 0.5775 GB, free: 20.72 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.3539, allocations: 224.8 kB / 0.5778 GB, free: 20.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.979, allocations: 0 / 0.5778 GB, free: 20.47 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)