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.0008142/0.0008142, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000924/0.000924, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9503/0.9503, allocations: 230.6 MB / 256 MB, free: 9.824 MB / 202.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.791/0.791, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008912/0.0008912, allocations: 66.41 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5104, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.158/0.6684, allocations: 177.1 MB / 0.9908 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.6712, allocations: 1.876 MB / 0.9926 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.6717, allocations: 15.88 kB / 0.9927 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.6725, allocations: 226.5 kB / 0.9929 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.6742, allocations: 0.7778 MB / 0.9936 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.6761, allocations: 0.9118 MB / 0.9945 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.677, allocations: 0.8651 MB / 0.9954 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.6774, allocations: 229.8 kB / 0.9956 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009446/0.6784, allocations: 0.5956 MB / 0.9962 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.6786, allocations: 286.8 kB / 0.9964 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.6787, allocations: 28 kB / 0.9965 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.6803, allocations: 1.185 MB / 0.9976 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.6805, allocations: 127.6 kB / 0.9977 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.6806, allocations: 207 kB / 0.9979 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.682, allocations: 0.9189 MB / 0.9988 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.682, allocations: 0 / 0.9988 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.006e-06/0.682, allocations: 0 / 0.9988 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.682, allocations: 3.938 kB / 0.9988 GB, free: 12.03 MB / 0.7761 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.001283/0.6833, allocations: 0.7069 MB / 0.9995 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.6834, allocations: 12.03 kB / 0.9995 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.6834, allocations: 70.52 kB / 0.9996 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.684, allocations: 155.6 kB / 0.9998 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.6846, allocations: 311.5 kB / 1 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.6846, allocations: 24.66 kB / 1 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.6846, allocations: 28 kB / 1 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.6851, allocations: 399.5 kB / 1 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.6851, allocations: 0 / 1 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.6852, allocations: 8 kB / 1 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.6852, allocations: 20.58 kB / 1.001 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.6856, allocations: 346.3 kB / 1.001 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.6871, allocations: 1.739 MB / 1.003 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.6874, allocations: 230.6 kB / 1.003 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.6875, allocations: 136.8 kB / 1.003 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.6878, allocations: 67.92 kB / 1.003 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.6878, allocations: 38.56 kB / 1.003 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.6878, allocations: 0 / 1.003 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0006142/0.6884, allocations: 387.4 kB / 1.003 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.6885, allocations: 55.41 kB / 1.003 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.6887, allocations: 357.7 kB / 1.004 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.6888, allocations: 33.7 kB / 1.004 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.6889, allocations: 196.3 kB / 1.004 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.6889, allocations: 71.36 kB / 1.004 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.689, allocations: 53.69 kB / 1.004 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6891, allocations: 342.8 kB / 1.004 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.6892, allocations: 95.86 kB / 1.005 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.6894, allocations: 165.8 kB / 1.005 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.6897, allocations: 255.5 kB / 1.005 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6897, allocations: 0 / 1.005 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004449/0.6901, allocations: 301.1 kB / 1.005 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6902, allocations: 12.17 kB / 1.005 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6902, allocations: 4 kB / 1.005 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6902, allocations: 4 kB / 1.005 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.6904, allocations: 47.91 kB / 1.005 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6904, allocations: 0 / 1.005 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.6905, allocations: 39.72 kB / 1.005 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.6906, allocations: 12 kB / 1.005 GB, free: 5.031 MB / 0.7761 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.0001395/0.6907, allocations: 165.7 kB / 1.005 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.6907, allocations: 35.81 kB / 1.006 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.6912, allocations: 294.2 kB / 1.006 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6912, allocations: 4 kB / 1.006 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6912, allocations: 0 / 1.006 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.6912, allocations: 3.984 kB / 1.006 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.6922, allocations: 0.8693 MB / 1.007 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6922, allocations: 0 / 1.007 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.6923, allocations: 43.97 kB / 1.007 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6923, allocations: 4.094 kB / 1.007 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.6923, allocations: 15.92 kB / 1.007 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.6923, allocations: 7.938 kB / 1.007 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6923, allocations: 4 kB / 1.007 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.6927, allocations: 457.4 kB / 1.007 GB, free: 3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.6928, allocations: 59.72 kB / 1.007 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.6928, allocations: 4 kB / 1.007 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.6929, allocations: 15.98 kB / 1.007 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.693, allocations: 31.84 kB / 1.007 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.693, allocations: 4 kB / 1.007 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001901/0.6932, allocations: 259.2 kB / 1.008 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6932, allocations: 0 / 1.008 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000338/0.6935, allocations: 95.89 kB / 1.008 GB, free: 2.539 MB / 0.7761 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.0008111/0.6943, allocations: 1.039 MB / 1.009 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.6947, allocations: 235.7 kB / 1.009 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6947, allocations: 3.938 kB / 1.009 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.6948, allocations: 120.9 kB / 1.009 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.6955, allocations: 227.5 kB / 1.009 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.6987, allocations: 3.299 MB / 1.012 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.6989, allocations: 0.7997 MB / 1.013 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002671/0.6992, allocations: 87.17 kB / 1.013 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.6993, allocations: 111.4 kB / 1.013 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of SimCode: time 1.092e-06/0.6993, allocations: 0 / 1.013 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.7283, allocations: 11.06 MB / 1.024 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.872, allocations: 18.17 kB / 1.024 GB, free: 1.539 MB / 0.7917 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.844998819055036] Failed to read output from testmodel.py, exit status != 0: 7.954599559074268 7.964277908 7.279985287 Calling exit ...