Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.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.001269/0.001269, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001612/0.001612, allocations: 214 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1328/0.1328, allocations: 23.87 MB / 336.3 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical 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.002093/0.002093, allocations: 67.91 kB / 471.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3285, allocations: 59.86 MB / 0.5185 GB, free: 9.582 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood): time 0.08067/0.4092, allocations: 33.42 MB / 0.5512 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06077/0.4699, allocations: 41.76 MB / 0.592 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.4727, allocations: 51.56 kB / 0.592 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.4758, allocations: 0.9264 MB / 0.5929 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01208/0.4879, allocations: 3.713 MB / 0.5965 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01831/0.5062, allocations: 6.49 MB / 0.6029 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007017/0.5132, allocations: 4.531 MB / 0.6073 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.5171, allocations: 2.211 MB / 0.6095 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.5214, allocations: 2.291 MB / 0.6117 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006524/0.5279, allocations: 2.339 MB / 0.614 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002301/0.5302, allocations: 420 kB / 0.6144 GB, free: 7.477 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/0.5462, allocations: 5.023 MB / 0.6193 GB, free: 2.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00224/0.5484, allocations: 0.9932 MB / 0.6203 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004084/0.5525, allocations: 1.732 MB / 0.622 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02506/0.5775, allocations: 10.2 MB / 0.6319 GB, free: 5.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5776, allocations: 4 kB / 0.6319 GB, free: 5.469 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5776, allocations: 0 / 0.6319 GB, free: 5.469 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002396/0.5778, allocations: 0 / 0.6319 GB, free: 5.469 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01413/0.5919, allocations: 4.757 MB / 0.6366 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.592, allocations: 8.031 kB / 0.6366 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001627/0.5936, allocations: 434.7 kB / 0.637 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/0.5988, allocations: 0.8449 MB / 0.6378 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004569/0.6033, allocations: 1.612 MB / 0.6394 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/0.6037, allocations: 349.6 kB / 0.6397 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.6051, allocations: 336.2 kB / 0.64 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.6157, allocations: 4.551 MB / 0.6445 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.368e-05/0.6158, allocations: 7.922 kB / 0.6445 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004077/0.6162, allocations: 128 kB / 0.6446 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.515e-05/0.6163, allocations: 76 kB / 0.6447 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.6286, allocations: 6.169 MB / 0.6507 GB, free: 2 MB / 494.1 MB 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.0282/0.6568, allocations: 12.02 MB / 0.6624 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009934/0.6667, allocations: 5.305 MB / 0.6676 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00408/0.6708, allocations: 2.067 MB / 0.6696 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02187/0.6927, allocations: 9.13 MB / 0.6786 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.6927, allocations: 56.8 kB / 0.6786 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002074/0.6948, allocations: 469.8 kB / 0.6791 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 6.933e-06/0.6948, allocations: 4 kB / 0.6791 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09297/0.7878, allocations: 23.36 MB / 0.7019 GB, free: 13.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.7879, allocations: 94.45 kB / 0.702 GB, free: 13.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.7904, allocations: 1.77 MB / 0.7037 GB, free: 11.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005307/0.7909, allocations: 89.7 kB / 0.7038 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.7921, allocations: 1.344 MB / 0.7051 GB, free: 9.879 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001801/0.7939, allocations: 1.371 MB / 0.7064 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.7952, allocations: 0.7759 MB / 0.7072 GB, free: 7.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7953, allocations: 309.1 kB / 0.7075 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003338/0.7987, allocations: 1.843 MB / 0.7093 GB, free: 5.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/0.8031, allocations: 2.835 MB / 0.7121 GB, free: 2.285 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008695/0.8118, allocations: 4.983 MB / 0.7169 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/0.8118, allocations: 8 kB / 0.7169 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02003/0.8318, allocations: 6.833 MB / 0.7236 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/0.8319, allocations: 26.95 kB / 0.7236 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.579e-05/0.8319, allocations: 31.94 kB / 0.7237 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/0.8436, allocations: 2.288 MB / 0.7259 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/0.8479, allocations: 0.9009 MB / 0.7268 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2602/1.108, allocations: 17.54 MB / 0.7439 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003919/1.112, allocations: 139.4 kB / 0.744 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008128/1.113, allocations: 237.2 kB / 0.7443 GB, free: 161.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001668/1.114, allocations: 0.6031 MB / 0.7448 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007882/1.115, allocations: 290.9 kB / 0.7451 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/1.134, allocations: 6.579 MB / 0.7515 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.276e-05/1.134, allocations: 41.47 kB / 0.7516 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.243e-05/1.134, allocations: 9.406 kB / 0.7516 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/1.134, allocations: 20.02 kB / 0.7516 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/1.158, allocations: 10.1 MB / 0.7615 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/1.158, allocations: 4.719 kB / 0.7615 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003139/1.161, allocations: 0.647 MB / 0.7621 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009274/1.17, allocations: 2.025 MB / 0.7641 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007304/1.171, allocations: 144.4 kB / 0.7642 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/1.19, allocations: 16.17 MB / 0.78 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.19, allocations: 8.219 kB / 0.78 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/1.208, allocations: 8.515 MB / 0.7883 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.211, allocations: 0.6412 MB / 0.789 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004798/1.211, allocations: 83.47 kB / 0.7891 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.213, allocations: 94.56 kB / 0.7891 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006619/1.214, allocations: 352.9 kB / 0.7895 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002831/1.214, allocations: 158.4 kB / 0.7896 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001292/1.215, allocations: 1.125 MB / 0.7907 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.215, allocations: 2.688 kB / 0.7907 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00578/1.221, allocations: 2.206 MB / 0.7929 GB, free: 134.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.logn) * 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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02202/1.243, allocations: 11.24 MB / 0.8039 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.254, allocations: 5.594 MB / 0.8093 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.254, allocations: 0 / 0.8093 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006014/1.26, allocations: 3.348 MB / 0.8126 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/1.263, allocations: 0.5505 MB / 0.8131 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06024/1.323, allocations: 31.3 MB / 0.8437 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.324, allocations: 1.334 MB / 0.845 GB, free: 80.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00274/1.327, allocations: 0.6685 MB / 0.8457 GB, free: 79.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/1.329, allocations: 1.557 MB / 0.8472 GB, free: 78.36 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/1.329, allocations: 0 / 0.8472 GB, free: 78.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3922/1.721, allocations: 115.4 MB / 0.9599 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.05/20.77, allocations: 11.44 kB / 0.9599 GB, free: 191.6 MB / 0.5919 GB " [Timeout remaining time 639] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.570366003084928] Failed to read output from testmodel.py, exit status != 0: 20.982511788140982 20.997196945 20.416282041 Calling exit ...