Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 101.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8362/0.8362, allocations: 134 MB / 436.6 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.89 kB / 0.6051 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4164, allocations: 84.67 MB / 0.6878 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1908/0.6072, allocations: 170 MB / 0.8538 GB, free: 12.03 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009129/0.6164, allocations: 7.161 MB / 0.8608 GB, free: 4.852 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.6168, allocations: 11.94 kB / 0.8608 GB, free: 4.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.6174, allocations: 178.7 kB / 0.861 GB, free: 4.664 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003467/0.6209, allocations: 1.303 MB / 0.8623 GB, free: 3.355 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.6227, allocations: 0.6473 MB / 0.8629 GB, free: 2.715 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.6237, allocations: 0.7641 MB / 0.8636 GB, free: 1.949 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.6241, allocations: 238.8 kB / 0.8639 GB, free: 1.715 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.6254, allocations: 0.5915 MB / 0.8644 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008723/0.6263, allocations: 446.4 kB / 0.8649 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.6264, allocations: 28 kB / 0.8649 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3808/1.007, allocations: 1.323 MB / 0.8662 GB, free: 3.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000237/1.007, allocations: 122.8 kB / 0.8663 GB, free: 3.68 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003394/1.008, allocations: 180.6 kB / 0.8665 GB, free: 3.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/1.01, allocations: 0.9088 MB / 0.8674 GB, free: 3.637 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/1.01, allocations: 0 / 0.8674 GB, free: 3.637 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/1.01, allocations: 0.5 kB / 0.8674 GB, free: 3.637 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.864e-06/1.01, allocations: 1.125 kB / 0.8674 GB, free: 3.637 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001066/1.011, allocations: 0.7124 MB / 0.8681 GB, free: 3.121 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.011, allocations: 10.62 kB / 0.8681 GB, free: 3.121 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002295/1.011, allocations: 65.81 kB / 0.8681 GB, free: 19.08 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/1.012, allocations: 127.8 kB / 0.8683 GB, free: 19.06 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/1.013, allocations: 342.6 kB / 0.8686 GB, free: 18.83 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.296e-05/1.013, allocations: 49.81 kB / 0.8686 GB, free: 18.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/1.013, allocations: 25.69 kB / 0.8687 GB, free: 18.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/1.014, allocations: 370.5 kB / 0.869 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.014, allocations: 0.7188 kB / 0.869 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/1.014, allocations: 13.72 kB / 0.869 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/1.014, allocations: 6.5 kB / 0.869 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/1.014, allocations: 275.1 kB / 0.8693 GB, free: 18.72 MB / 0.6856 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.00211/1.016, allocations: 1.49 MB / 0.8708 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/1.017, allocations: 188.1 kB / 0.8709 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/1.017, allocations: 116.5 kB / 0.871 GB, free: 17.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.018, allocations: 0.5036 MB / 0.8715 GB, free: 17.25 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.018, allocations: 35.61 kB / 0.8716 GB, free: 17.21 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/1.018, allocations: 1.719 kB / 0.8716 GB, free: 17.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0009496/1.019, allocations: 362.1 kB / 0.8719 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/1.019, allocations: 53.59 kB / 0.872 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/1.019, allocations: 317.3 kB / 0.8723 GB, free: 16.99 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/1.019, allocations: 27.61 kB / 0.8723 GB, free: 16.96 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.02, allocations: 182.9 kB / 0.8725 GB, free: 16.85 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/1.02, allocations: 57.72 kB / 0.8725 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/1.02, allocations: 49.94 kB / 0.8726 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.02, allocations: 337.1 kB / 0.8729 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/1.02, allocations: 85.47 kB / 0.873 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/1.02, allocations: 151.3 kB / 0.8731 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/1.021, allocations: 240.9 kB / 0.8733 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.021, allocations: 0.9688 kB / 0.8733 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005666/1.021, allocations: 287.1 kB / 0.8736 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.021, allocations: 7.078 kB / 0.8736 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.021, allocations: 6.203 kB / 0.8736 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.021, allocations: 5.938 kB / 0.8736 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/1.021, allocations: 41.5 kB / 0.8737 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.021, allocations: 6.781 kB / 0.8737 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/1.022, allocations: 30.34 kB / 0.8737 GB, free: 16.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/1.022, allocations: 14.52 kB / 0.8737 GB, free: 16.31 MB / 0.6856 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 (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 prepare postOptimizeDAE: time 0.0001896/1.022, allocations: 144.9 kB / 0.8739 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.022, allocations: 38.17 kB / 0.8739 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006563/1.023, allocations: 316 kB / 0.8742 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.023, allocations: 2.531 kB / 0.8742 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.023, allocations: 0.9375 kB / 0.8742 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.023, allocations: 3.547 kB / 0.8742 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/1.024, allocations: 0.808 MB / 0.875 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.024, allocations: 2.969 kB / 0.875 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/1.024, allocations: 35.66 kB / 0.875 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.024, allocations: 3.75 kB / 0.875 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/1.024, allocations: 9.391 kB / 0.8751 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/1.024, allocations: 7.484 kB / 0.8751 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.024, allocations: 2.25 kB / 0.8751 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/1.025, allocations: 399.2 kB / 0.8754 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/1.025, allocations: 136.8 kB / 0.8756 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/1.025, allocations: 10.73 kB / 0.8756 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/1.025, allocations: 15.61 kB / 0.8756 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/1.025, allocations: 18.5 kB / 0.8756 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/1.025, allocations: 11.58 kB / 0.8756 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002245/1.026, allocations: 229.7 kB / 0.8758 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.1e-08/1.026, allocations: 0.9375 kB / 0.8758 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005991/1.026, allocations: 119 kB / 0.876 GB, free: 15.35 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (16): * Single equations (assignments): 16 * 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.001394/1.028, allocations: 1.067 MB / 0.877 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004877/1.028, allocations: 214.9 kB / 0.8772 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.028, allocations: 0.5 kB / 0.8772 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/1.028, allocations: 110.6 kB / 0.8773 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000854/1.029, allocations: 164.5 kB / 0.8775 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/1.034, allocations: 3.064 MB / 0.8805 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/1.034, allocations: 0.7842 MB / 0.8812 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003524/1.035, allocations: 84.22 kB / 0.8813 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.035, allocations: 98.22 kB / 0.8814 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/1.035, allocations: 1.031 kB / 0.8814 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/1.07, allocations: 10.57 MB / 0.8917 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/9.566, allocations: 7.938 kB / 0.8917 GB, free: 11.56 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.874482728075236] Failed to read output from testmodel.py, exit status != 0: 9.63886601664126 9.649694787 8.637363929 Calling exit ...