Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.0008324/0.0008324, allocations: 105.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.0009327/0.0009327, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9021/0.9021, allocations: 230.6 MB / 256 MB, free: 9.598 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.7743/0.7743, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",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.001024/0.001024, allocations: 70.7 kB / 0.7182 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5105, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1462/0.6567, allocations: 148.4 MB / 0.9627 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.6745, allocations: 16.23 MB / 0.9785 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.6759, allocations: 47.56 kB / 0.9786 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.6777, allocations: 0.5623 MB / 0.9791 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.6821, allocations: 1.844 MB / 0.9809 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.6852, allocations: 1.471 MB / 0.9824 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.6883, allocations: 2.906 MB / 0.9852 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.6903, allocations: 1.575 MB / 0.9867 GB, free: 8.094 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.6934, allocations: 1.515 MB / 0.9882 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.695, allocations: 1.063 MB / 0.9893 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.6953, allocations: 224 kB / 0.9895 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.6977, allocations: 1.455 MB / 0.9909 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.6983, allocations: 0.8295 MB / 0.9917 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.6993, allocations: 1.054 MB / 0.9927 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005022/0.7044, allocations: 3.814 MB / 0.9965 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7044, allocations: 0 / 0.9965 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7044, allocations: 0 / 0.9965 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001013/0.7045, allocations: 3.938 kB / 0.9965 GB, free: 14.15 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.004437/0.7089, allocations: 2.976 MB / 0.9994 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.709, allocations: 12.03 kB / 0.9994 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.7092, allocations: 248.8 kB / 0.9996 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.7116, allocations: 0.6422 MB / 1 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/0.7152, allocations: 3.382 MB / 1.004 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.816e-05/0.7153, allocations: 127.4 kB / 1.004 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.7155, allocations: 168 kB / 1.004 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.7184, allocations: 2.709 MB / 1.006 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.7184, allocations: 7.938 kB / 1.006 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.7186, allocations: 76 kB / 1.007 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.7186, allocations: 40 kB / 1.007 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.7211, allocations: 2.066 MB / 1.009 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00806/0.7292, allocations: 5.113 MB / 1.014 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.7314, allocations: 1.741 MB / 1.015 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008279/0.7322, allocations: 0.7182 MB / 1.016 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.7325, allocations: 117.2 kB / 1.016 GB, free: 9.598 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.734, allocations: 1.619 MB / 1.018 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 3.487e-06/0.734, allocations: 0 / 1.018 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.004429/0.7385, allocations: 2.633 MB / 1.02 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.7386, allocations: 205.2 kB / 1.02 GB, free: 4.914 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.7423, allocations: 4.119 MB / 1.024 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.7426, allocations: 57.7 kB / 1.025 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/0.7432, allocations: 0.9233 MB / 1.025 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/0.7436, allocations: 0.5035 MB / 1.026 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.7438, allocations: 238.8 kB / 1.026 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7439, allocations: 361.9 kB / 1.027 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007468/0.7447, allocations: 0.5765 MB / 1.027 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000979/0.7456, allocations: 1.235 MB / 1.028 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.7471, allocations: 1.333 MB / 1.03 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.7471, allocations: 4 kB / 1.03 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00286/0.75, allocations: 1.812 MB / 1.031 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.75, allocations: 7.938 kB / 1.031 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.75, allocations: 4 kB / 1.031 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.7507, allocations: 212.1 kB / 1.032 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008799/0.7516, allocations: 331.6 kB / 1.032 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.7561, allocations: 6.789 MB / 1.039 GB, free: 1.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.7573, allocations: 170.3 kB / 1.039 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.7574, allocations: 47.97 kB / 1.039 GB, free: 1.387 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.0009729/0.7584, allocations: 498.8 kB / 1.039 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.7588, allocations: 206.7 kB / 1.039 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.7615, allocations: 2.154 MB / 1.042 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.7616, allocations: 27.92 kB / 1.042 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7616, allocations: 0 / 1.042 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7616, allocations: 7.969 kB / 1.042 GB, free: 14.47 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005151/0.7667, allocations: 3.852 MB / 1.045 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.7667, allocations: 4 kB / 1.045 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008111/0.7675, allocations: 327.5 kB / 1.046 GB, free: 10.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.768, allocations: 192.1 kB / 1.046 GB, free: 10.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-05/0.7681, allocations: 43.95 kB / 1.046 GB, free: 9.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004083/0.7722, allocations: 6.812 MB / 1.052 GB, free: 2.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7722, allocations: 0 / 1.052 GB, free: 2.59 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.7755, allocations: 2.037 MB / 1.054 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.7766, allocations: 470 kB / 1.055 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.7768, allocations: 31.98 kB / 1.055 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.7776, allocations: 107.5 kB / 1.055 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.7778, allocations: 121.1 kB / 1.055 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.778, allocations: 75.95 kB / 1.055 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002688/0.7806, allocations: 3.165 MB / 1.058 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7806, allocations: 0 / 1.058 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002038/0.7827, allocations: 0.6976 MB / 1.059 GB, free: 11.88 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.004523/0.7872, allocations: 3.261 MB / 1.062 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.7897, allocations: 2.02 MB / 1.064 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.7897, allocations: 4.891 kB / 1.064 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.791, allocations: 1.371 MB / 1.066 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.7931, allocations: 0.5574 MB / 1.066 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/0.817, allocations: 21.25 MB / 1.087 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/0.8179, allocations: 0.9658 MB / 1.088 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001775/0.8196, allocations: 0.533 MB / 1.088 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.8208, allocations: 0.9132 MB / 1.089 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of SimCode: time 1.783e-06/0.8208, allocations: 7.938 kB / 1.089 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07338/0.8942, allocations: 53.41 MB / 1.141 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.5/10.39, allocations: 0 / 1.141 GB, free: 7.871 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.713886774145067] Failed to read output from testmodel.py, exit status != 0: 10.564287986140698 10.905084872 10.197731698 Calling exit ...