Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001354/0.001354, 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.0008822/0.0008822, allocations: 169.9 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.8793/0.8793, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7055/0.7055, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.182e-05, allocations: 9.094 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4083/0.4083, allocations: 165.3 MB / 0.7795 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.4217, allocations: 11.95 MB / 0.7912 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.423, allocations: 40.34 kB / 0.7912 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.4243, allocations: 422.2 kB / 0.7916 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.4266, allocations: 0.9767 MB / 0.7926 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.4284, allocations: 0.7886 MB / 0.7934 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.4305, allocations: 1.519 MB / 0.7948 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.4314, allocations: 0.4894 MB / 0.7953 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.4353, allocations: 2.057 MB / 0.7973 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4367, allocations: 457.8 kB / 0.7978 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.4368, allocations: 52.62 kB / 0.7978 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.4383, allocations: 0.7232 MB / 0.7985 GB, free: 1 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.4386, allocations: 306.4 kB / 0.7988 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.4389, allocations: 256 kB / 0.7991 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.4411, allocations: 1.183 MB / 0.8002 GB, free: 356 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.4411, allocations: 3.062 kB / 0.8002 GB, free: 356 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4411, allocations: 0 / 0.8002 GB, free: 356 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.4411, allocations: 4 kB / 0.8002 GB, free: 352 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00133/0.4424, allocations: 0.9892 MB / 0.8012 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.4425, allocations: 10.19 kB / 0.8012 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.166e-05/0.4426, allocations: 101.5 kB / 0.8013 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.4433, allocations: 197.7 kB / 0.8015 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.444, allocations: 496.1 kB / 0.8019 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.4441, allocations: 46.34 kB / 0.802 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.4441, allocations: 61.56 kB / 0.8021 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008237/0.4449, allocations: 0.7985 MB / 0.8028 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.445, allocations: 6.125 kB / 0.8028 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.445, allocations: 28.28 kB / 0.8029 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.445, allocations: 24.61 kB / 0.8029 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.4456, allocations: 462.7 kB / 0.8033 GB, free: 14.43 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.4485, allocations: 3.995 MB / 0.8072 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.4486, allocations: 100 kB / 0.8073 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.84e-05/0.4487, allocations: 80.58 kB / 0.8074 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.4488, allocations: 17.42 kB / 0.8074 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.4489, allocations: 37.28 kB / 0.8075 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.4489, allocations: 0 / 0.8075 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.000487/0.4494, allocations: 236.9 kB / 0.8077 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.4494, allocations: 137.7 kB / 0.8078 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.4501, allocations: 0.8568 MB / 0.8087 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4502, allocations: 31.89 kB / 0.8087 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.4504, allocations: 412.7 kB / 0.8091 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.4504, allocations: 43.88 kB / 0.8091 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.4505, allocations: 88.72 kB / 0.8092 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.4506, allocations: 324.8 kB / 0.8095 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4507, allocations: 113.9 kB / 0.8096 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.4513, allocations: 0.5077 MB / 0.8101 GB, free: 8.328 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.4516, allocations: 437.5 kB / 0.8105 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4516, allocations: 2.938 kB / 0.8105 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005435/0.4522, allocations: 0.4965 MB / 0.811 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4522, allocations: 12.41 kB / 0.811 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4522, allocations: 8 kB / 0.811 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4522, allocations: 10.5 kB / 0.811 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.4524, allocations: 95.92 kB / 0.8111 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.4524, allocations: 18.83 kB / 0.8112 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.4528, allocations: 112.4 kB / 0.8113 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.4528, allocations: 18.69 kB / 0.8113 GB, free: 7.555 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0001932/0.453, allocations: 237.3 kB / 0.8115 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.4531, allocations: 80.23 kB / 0.8116 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.4532, allocations: 71.67 kB / 0.8117 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4532, allocations: 2.906 kB / 0.8117 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4532, allocations: 7.719 kB / 0.8117 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4532, allocations: 0 / 0.8117 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/0.454, allocations: 1.038 MB / 0.8127 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.454, allocations: 3.094 kB / 0.8127 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.4541, allocations: 24.48 kB / 0.8127 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4541, allocations: 9.281 kB / 0.8127 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4541, allocations: 10.91 kB / 0.8127 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.4541, allocations: 5.203 kB / 0.8127 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4541, allocations: 3.406 kB / 0.8127 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.4543, allocations: 257 kB / 0.813 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.4544, allocations: 104.6 kB / 0.8131 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.4544, allocations: 3 kB / 0.8131 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.4546, allocations: 18.33 kB / 0.8131 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.4546, allocations: 13.86 kB / 0.8131 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.4546, allocations: 9.125 kB / 0.8131 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004829/0.4551, allocations: 0.589 MB / 0.8137 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.4551, allocations: 0 / 0.8137 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003901/0.4555, allocations: 165.1 kB / 0.8139 GB, free: 5.68 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.0007527/0.4562, allocations: 0.8773 MB / 0.8147 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004279/0.4567, allocations: 237.8 kB / 0.8149 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4567, allocations: 0 / 0.8149 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.4567, allocations: 42.64 kB / 0.815 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009812/0.4577, allocations: 375.1 kB / 0.8153 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/0.463, allocations: 5.455 MB / 0.8207 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.4632, allocations: 348.9 kB / 0.821 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004429/0.4637, allocations: 145.8 kB / 0.8211 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.4639, allocations: 233.7 kB / 0.8214 GB, free: 444 kB / 0.6667 GB Notification: Performance of SimCode: time 1.853e-06/0.4639, allocations: 2.625 kB / 0.8214 GB, free: 444 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.4967, allocations: 20.1 MB / 0.841 GB, free: 14.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.152, allocations: 7.5 kB / 0.841 GB, free: 14.86 MB / 0.698 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.811179645359516] Failed to read output from testmodel.py, exit status != 0: 8.246708155609667 8.256265125 7.812880185 Calling exit ...