Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01023/0.01023, allocations: 1.771 MB / 18.83 MB, free: 4.332 MB / 14.72 MB " [Timeout remaining time 180] 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.001201/0.001201, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.001515/0.001515, allocations: 211.5 kB / 25.45 MB, free: 2.797 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.505/1.505, allocations: 230.6 MB / 259.2 MB, free: 13.14 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.101/1.101, allocations: 130.6 MB / 446.3 MB, free: 14.97 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayGasValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayGasValve",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. Notification: TILMedia 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.3948/0.3948, allocations: 46.14 MB / 0.6552 GB, free: 30.3 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.5818, allocations: 89.06 MB / 0.7421 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve): time 0.01226/0.5941, allocations: 9.476 MB / 0.7514 GB, free: 9.254 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02663/0.6207, allocations: 18.46 MB / 0.7694 GB, free: 6.734 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.6224, allocations: 35.81 kB / 0.7694 GB, free: 6.699 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.003369/0.6258, allocations: 1.065 MB / 0.7705 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.6283, allocations: 0.8045 MB / 0.7713 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.007619/0.636, allocations: 2.806 MB / 0.774 GB, free: 2.004 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.004944/0.6409, allocations: 2.889 MB / 0.7768 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004715/0.6456, allocations: 3.164 MB / 0.7799 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.6494, allocations: 1.983 MB / 0.7819 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004965/0.6543, allocations: 2.938 MB / 0.7847 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002114/0.6564, allocations: 0.7578 MB / 0.7855 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009128/0.6656, allocations: 4.523 MB / 0.7899 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.67, allocations: 3.348 MB / 0.7932 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006914/0.6769, allocations: 3.663 MB / 0.7967 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02207/0.699, allocations: 14.4 MB / 0.8108 GB, free: 12.17 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.699, allocations: 0 / 0.8108 GB, free: 12.17 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.593e-06/0.699, allocations: 4 kB / 0.8108 GB, free: 12.17 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0002908/0.6992, allocations: 0 / 0.8108 GB, free: 12.17 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.02417/0.7234, allocations: 8.838 MB / 0.8194 GB, free: 3.227 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.7235, allocations: 12.03 kB / 0.8194 GB, free: 3.215 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.194e-05/0.7235, allocations: 47.5 kB / 0.8195 GB, free: 3.168 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001254/0.7248, allocations: 364.7 kB / 0.8198 GB, free: 2.801 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.728, allocations: 0.7893 MB / 0.8206 GB, free: 2.008 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0222/0.7502, allocations: 10.27 MB / 0.8306 GB, free: 7.645 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.7504, allocations: 123.7 kB / 0.8308 GB, free: 7.523 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.7515, allocations: 160.1 kB / 0.8309 GB, free: 7.367 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.7716, allocations: 8.992 MB / 0.8397 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.7716, allocations: 7.938 kB / 0.8397 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005378/0.7722, allocations: 127.9 kB / 0.8398 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003038/0.7725, allocations: 260.1 kB / 0.8401 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/0.8027, allocations: 16.68 MB / 0.8564 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5259/1.329, allocations: 21.13 MB / 0.877 GB, free: 102.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/1.339, allocations: 3.44 MB / 0.8803 GB, free: 101.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002729/1.342, allocations: 1.881 MB / 0.8822 GB, free: 100.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007026/1.342, allocations: 344.3 kB / 0.8825 GB, free: 100.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.343, allocations: 67.89 kB / 0.8826 GB, free: 100.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=243): time 4.829e-06/1.343, allocations: 0 / 0.8826 GB, free: 100.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=243): time 0.02155/1.364, allocations: 7.783 MB / 0.8902 GB, free: 97.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.364, allocations: 311.4 kB / 0.8905 GB, free: 97.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/1.377, allocations: 6.459 MB / 0.8968 GB, free: 95.29 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007101/1.377, allocations: 62.89 kB / 0.8968 GB, free: 95.23 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002442/1.38, allocations: 2.51 MB / 0.8993 GB, free: 93.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.381, allocations: 0.8562 MB / 0.9001 GB, free: 93.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/1.383, allocations: 0.7202 MB / 0.9008 GB, free: 92.95 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/1.383, allocations: 308.8 kB / 0.9011 GB, free: 92.64 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/1.386, allocations: 2.28 MB / 0.9034 GB, free: 91.74 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.39, allocations: 3.162 MB / 0.9064 GB, free: 89.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007367/1.398, allocations: 5.328 MB / 0.9116 GB, free: 86.18 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.026e-05/1.398, allocations: 7.25 kB / 0.9117 GB, free: 86.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01087/1.409, allocations: 6.206 MB / 0.9177 GB, free: 83.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/1.409, allocations: 17.88 kB / 0.9177 GB, free: 83.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.399e-05/1.409, allocations: 24.38 kB / 0.9178 GB, free: 83.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/1.409, allocations: 122.5 kB / 0.9179 GB, free: 83 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/1.413, allocations: 0.8175 MB / 0.9187 GB, free: 82.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000696/1.414, allocations: 1.177 MB / 0.9198 GB, free: 81.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003624/1.418, allocations: 328 kB / 0.9201 GB, free: 81.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/1.418, allocations: 295.2 kB / 0.9204 GB, free: 81.55 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (368): * Single equations (assignments): 366 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002953/1.421, allocations: 1.879 MB / 0.9222 GB, free: 80.44 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.422, allocations: 0.5963 MB / 0.9228 GB, free: 80.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009918/1.432, allocations: 6.013 MB / 0.9287 GB, free: 77.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/1.432, allocations: 27.5 kB / 0.9287 GB, free: 77.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.432, allocations: 0 / 0.9287 GB, free: 77.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/1.432, allocations: 11.95 kB / 0.9287 GB, free: 77.01 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/1.447, allocations: 10.36 MB / 0.9389 GB, free: 70.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.447, allocations: 3.656 kB / 0.9389 GB, free: 70.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002973/1.45, allocations: 0.574 MB / 0.9394 GB, free: 70.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003605/1.45, allocations: 87.41 kB / 0.9395 GB, free: 70.54 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/1.451, allocations: 100 kB / 0.9396 GB, free: 70.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006235/1.451, allocations: 1.136 MB / 0.9407 GB, free: 69.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.451, allocations: 6.625 kB / 0.9407 GB, free: 69.39 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006464/1.458, allocations: 4.864 MB / 0.9455 GB, free: 65.22 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/1.46, allocations: 1.361 MB / 0.9468 GB, free: 63.87 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007781/1.461, allocations: 54.06 kB / 0.9468 GB, free: 63.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.462, allocations: 71.48 kB / 0.9469 GB, free: 63.75 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/1.463, allocations: 194 kB / 0.9471 GB, free: 63.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.463, allocations: 244.9 kB / 0.9473 GB, free: 63.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006241/1.469, allocations: 4.571 MB / 0.9518 GB, free: 58.79 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.9e-07/1.469, allocations: 0 / 0.9518 GB, free: 58.79 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003871/1.473, allocations: 1.03 MB / 0.9528 GB, free: 57.83 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (234): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009461/1.483, allocations: 6.867 MB / 0.9595 GB, free: 51.51 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006444/1.489, allocations: 5.152 MB / 0.9645 GB, free: 46.46 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.489, allocations: 4 kB / 0.9645 GB, free: 46.46 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002587/1.492, allocations: 2.239 MB / 0.9667 GB, free: 44.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/1.496, allocations: 0.8753 MB / 0.9676 GB, free: 43.49 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06715/1.563, allocations: 48.84 MB / 1.015 GB, free: 10.03 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004428/1.567, allocations: 3.355 MB / 1.019 GB, free: 6.656 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.005873/1.573, allocations: 1.933 MB / 1.02 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004471/1.578, allocations: 2.365 MB / 1.023 GB, free: 2.438 MB / 0.6857 GB Notification: Performance of SimCode: time 1.713e-06/1.578, allocations: 0 / 1.023 GB, free: 2.438 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1837/1.761, allocations: 104.1 MB / 1.124 GB, free: 11.26 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.44/26.2, allocations: 15.27 kB / 1.124 GB, free: 11.25 MB / 0.795 GB " [Timeout remaining time 773] (rm -f ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve.pipe ; mkfifo ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve.pipe >> ../files/ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve_res.mat --tempDir=temp_ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayGasValve_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayGasValve.fmu > ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayGasValve.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 30.849537534988485] Failed to read output from testmodel.py, exit status != 0: 26.720442202989943 26.735933861 26.033554514 Calling exit ...