Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.0007631/0.0007631, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.000784/0.000784, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.945/0.945, allocations: 230.6 MB / 256 MB, free: 9.594 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.8076/0.8076, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",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.001367/0.001367, allocations: 73.73 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5195, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1367/0.6561, allocations: 148.4 MB / 0.9627 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.6708, allocations: 16.23 MB / 0.9785 GB, free: 472 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008912/0.6717, allocations: 39.62 kB / 0.9786 GB, free: 432 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.6729, allocations: 0.5623 MB / 0.9791 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.6763, allocations: 1.848 MB / 0.9809 GB, free: 14 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.6786, allocations: 1.467 MB / 0.9823 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002222/0.6809, allocations: 2.91 MB / 0.9852 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.6825, allocations: 1.575 MB / 0.9867 GB, free: 8 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.6848, allocations: 1.527 MB / 0.9882 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008083/0.6856, allocations: 1.05 MB / 0.9892 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.6858, allocations: 224 kB / 0.9895 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.6878, allocations: 1.462 MB / 0.9909 GB, free: 3.781 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.6882, allocations: 0.8139 MB / 0.9917 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.6889, allocations: 1.057 MB / 0.9927 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.6919, allocations: 3.806 MB / 0.9964 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6919, allocations: 0 / 0.9964 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.093e-06/0.6919, allocations: 0 / 0.9964 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.1e-05/0.6919, allocations: 0 / 0.9964 GB, free: 14.08 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.002976/0.6949, allocations: 2.968 MB / 0.9993 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.6949, allocations: 8.031 kB / 0.9993 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.6951, allocations: 248.9 kB / 0.9996 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.6973, allocations: 0.6345 MB / 1 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.7, allocations: 3.37 MB / 1.003 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/0.7001, allocations: 135.3 kB / 1.004 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.7003, allocations: 172 kB / 1.004 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.7025, allocations: 2.709 MB / 1.006 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.7025, allocations: 3.938 kB / 1.006 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7026, allocations: 72 kB / 1.006 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.7027, allocations: 44 kB / 1.007 GB, free: 3.398 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.705, allocations: 2.07 MB / 1.009 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00516/0.7101, allocations: 5.12 MB / 1.014 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.7124, allocations: 1.741 MB / 1.015 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/0.7132, allocations: 0.7144 MB / 1.016 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.7135, allocations: 117.2 kB / 1.016 GB, free: 9.539 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/0.7148, allocations: 1.619 MB / 1.018 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 2.575e-06/0.7148, allocations: 4 kB / 1.018 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.003886/0.7187, allocations: 2.629 MB / 1.02 GB, free: 5.098 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.7188, allocations: 197.2 kB / 1.02 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.7218, allocations: 4.098 MB / 1.024 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.7219, allocations: 65.64 kB / 1.024 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.7224, allocations: 0.9195 MB / 1.025 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.7227, allocations: 0.4996 MB / 1.026 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.723, allocations: 242.8 kB / 1.026 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7231, allocations: 353.7 kB / 1.026 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007157/0.7238, allocations: 0.5804 MB / 1.027 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.725, allocations: 1.241 MB / 1.028 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.7266, allocations: 1.337 MB / 1.03 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7266, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002517/0.7291, allocations: 1.808 MB / 1.031 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.7291, allocations: 4 kB / 1.031 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7291, allocations: 4 kB / 1.031 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/0.7298, allocations: 216.2 kB / 1.031 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.7306, allocations: 327.5 kB / 1.032 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.7344, allocations: 6.791 MB / 1.038 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.7352, allocations: 168.9 kB / 1.039 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.7352, allocations: 51.97 kB / 1.039 GB, free: 1.348 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005499/0.7358, allocations: 493.3 kB / 1.039 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.736, allocations: 210.7 kB / 1.039 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.7386, allocations: 2.154 MB / 1.041 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7386, allocations: 19.98 kB / 1.041 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7386, allocations: 0 / 1.041 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.7386, allocations: 7.969 kB / 1.041 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.7429, allocations: 3.844 MB / 1.045 GB, free: 10.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7429, allocations: 0 / 1.045 GB, free: 10.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.7436, allocations: 323.6 kB / 1.046 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.744, allocations: 196.1 kB / 1.046 GB, free: 10 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.7441, allocations: 43.95 kB / 1.046 GB, free: 9.961 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.7476, allocations: 6.813 MB / 1.052 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7476, allocations: 3.938 kB / 1.052 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.7499, allocations: 2.037 MB / 1.054 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/0.7505, allocations: 469.9 kB / 1.055 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.7506, allocations: 28 kB / 1.055 GB, free: 8 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.7514, allocations: 112.8 kB / 1.055 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.7516, allocations: 121.1 kB / 1.055 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.7517, allocations: 68.02 kB / 1.055 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002355/0.7541, allocations: 3.152 MB / 1.058 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7541, allocations: 0 / 1.058 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001426/0.7555, allocations: 0.6976 MB / 1.059 GB, free: 11.87 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004089/0.7596, allocations: 3.262 MB / 1.062 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002559/0.7621, allocations: 2.023 MB / 1.064 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.7621, allocations: 0.8906 kB / 1.064 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.7634, allocations: 1.375 MB / 1.065 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.7648, allocations: 0.5471 MB / 1.066 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/0.7856, allocations: 21.18 MB / 1.087 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.7864, allocations: 0.9579 MB / 1.088 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001177/0.7875, allocations: 0.5252 MB / 1.088 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008355/0.7884, allocations: 0.9093 MB / 1.089 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of SimCode: time 1.322e-06/0.7884, allocations: 0 / 1.089 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07261/0.861, allocations: 53.17 MB / 1.141 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.53/10.39, allocations: 12.77 kB / 1.141 GB, free: 8.219 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.847139985766262] Failed to read output from testmodel.py, exit status != 0: 10.556351612322032 10.870241106 10.17571635 Calling exit ...