Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9223/0.9223, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7534/0.7534, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.123e-05, allocations: 7.5 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4181/0.4181, allocations: 153 MB / 0.7674 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.4208, allocations: 1.768 MB / 0.7691 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.4211, allocations: 20.69 kB / 0.7692 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.4217, allocations: 223.9 kB / 0.7694 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.4231, allocations: 0.7786 MB / 0.7701 GB, free: 3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.4247, allocations: 0.9239 MB / 0.771 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009299/0.4256, allocations: 0.856 MB / 0.7719 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.4261, allocations: 232.7 kB / 0.7721 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4271, allocations: 0.7012 MB / 0.7728 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.4273, allocations: 233.9 kB / 0.773 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.4274, allocations: 25.75 kB / 0.773 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.4287, allocations: 0.9093 MB / 0.7739 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4288, allocations: 132.8 kB / 0.774 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.429, allocations: 139.2 kB / 0.7742 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.4302, allocations: 0.922 MB / 0.7751 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4302, allocations: 4 kB / 0.7751 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4302, allocations: 0 / 0.7751 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4302, allocations: 1.25 kB / 0.7751 GB, free: 0.9023 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001184/0.4314, allocations: 0.7116 MB / 0.7758 GB, free: 408 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4314, allocations: 11 kB / 0.7758 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.4315, allocations: 67.09 kB / 0.7758 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/0.432, allocations: 162.8 kB / 0.776 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.4325, allocations: 304.9 kB / 0.7763 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4325, allocations: 19.94 kB / 0.7763 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.4325, allocations: 25.69 kB / 0.7763 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.4331, allocations: 394.2 kB / 0.7767 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4331, allocations: 0 / 0.7767 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.4331, allocations: 11.28 kB / 0.7767 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.4332, allocations: 20.83 kB / 0.7767 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.4337, allocations: 343 kB / 0.7771 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.435, allocations: 1.304 MB / 0.7783 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.4354, allocations: 226 kB / 0.7786 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.4355, allocations: 136.6 kB / 0.7787 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.4358, allocations: 77.69 kB / 0.7788 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4358, allocations: 32.75 kB / 0.7788 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.4358, allocations: 0 / 0.7788 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0006032/0.4364, allocations: 388 kB / 0.7792 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.4364, allocations: 53.97 kB / 0.7792 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.4367, allocations: 366.9 kB / 0.7796 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4367, allocations: 26.92 kB / 0.7796 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.4368, allocations: 193.1 kB / 0.7798 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.4369, allocations: 80.25 kB / 0.7798 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.4369, allocations: 46.02 kB / 0.7799 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.437, allocations: 347 kB / 0.7802 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.4372, allocations: 91.97 kB / 0.7803 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.4373, allocations: 233.2 kB / 0.7805 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.4376, allocations: 254.1 kB / 0.7808 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4376, allocations: 1.281 kB / 0.7808 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003716/0.438, allocations: 309.2 kB / 0.7811 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.438, allocations: 5.094 kB / 0.7811 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.438, allocations: 2.719 kB / 0.7811 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4381, allocations: 5.312 kB / 0.7811 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.4382, allocations: 52.33 kB / 0.7811 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4382, allocations: 4.484 kB / 0.7811 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.4383, allocations: 36.52 kB / 0.7812 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.4384, allocations: 11.06 kB / 0.7812 GB, free: 13.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.000119/0.4385, allocations: 160.1 kB / 0.7813 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.4385, allocations: 39.92 kB / 0.7814 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.4389, allocations: 303 kB / 0.7817 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4389, allocations: 2.594 kB / 0.7817 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4389, allocations: 0 / 0.7817 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4389, allocations: 3.938 kB / 0.7817 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.4398, allocations: 0.8292 MB / 0.7825 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4398, allocations: 2.594 kB / 0.7825 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.4399, allocations: 47.25 kB / 0.7825 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4399, allocations: 3.875 kB / 0.7825 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.4399, allocations: 15.39 kB / 0.7825 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4399, allocations: 4.062 kB / 0.7825 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4399, allocations: 4.375 kB / 0.7826 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.4403, allocations: 447.4 kB / 0.783 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.4404, allocations: 61.98 kB / 0.783 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.4404, allocations: 14.33 kB / 0.783 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.4405, allocations: 19.27 kB / 0.7831 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.4406, allocations: 19.77 kB / 0.7831 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4406, allocations: 7.156 kB / 0.7831 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001946/0.4408, allocations: 258.2 kB / 0.7833 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4408, allocations: 0 / 0.7833 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003042/0.4411, allocations: 99.2 kB / 0.7834 GB, free: 11.85 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0006981/0.4418, allocations: 1.03 MB / 0.7844 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.4421, allocations: 234.8 kB / 0.7847 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4421, allocations: 1.656 kB / 0.7847 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.4423, allocations: 128.8 kB / 0.7848 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.4429, allocations: 215.5 kB / 0.785 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.4458, allocations: 3.317 MB / 0.7882 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.4459, allocations: 191.3 kB / 0.7884 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.4461, allocations: 88.06 kB / 0.7885 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.4463, allocations: 117.8 kB / 0.7886 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/0.4463, allocations: 0 / 0.7886 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.467, allocations: 12.24 MB / 0.8006 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.728, allocations: 6.234 kB / 0.8006 GB, free: 3.992 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.60593602899462] Failed to read output from testmodel.py, exit status != 0: 7.812205228023231 7.825108553 7.39254715 Calling exit ...