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.0007717/0.0007717, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0008226/0.0008226, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9533/0.9533, allocations: 230.6 MB / 256 MB, free: 9.832 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.8388/0.8388, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.001345/0.001345, allocations: 66.83 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5882, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1696/0.7578, allocations: 172.1 MB / 0.986 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.7774, allocations: 17.77 MB / 1.003 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.7791, allocations: 43.62 kB / 1.003 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.7809, allocations: 0.5895 MB / 1.004 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.7857, allocations: 1.866 MB / 1.006 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.7889, allocations: 1.5 MB / 1.007 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003995/0.7929, allocations: 2.918 MB / 1.01 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.7951, allocations: 1.602 MB / 1.012 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.7983, allocations: 1.519 MB / 1.013 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.7997, allocations: 1.163 MB / 1.014 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.8001, allocations: 228 kB / 1.014 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/0.8031, allocations: 1.669 MB / 1.016 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005396/0.8036, allocations: 0.8217 MB / 1.017 GB, free: 9.488 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.8047, allocations: 1.29 MB / 1.018 GB, free: 8.191 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.8103, allocations: 3.814 MB / 1.022 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8104, allocations: 0 / 1.022 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8104, allocations: 7.875 kB / 1.022 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.763e-05/0.8104, allocations: 0 / 1.022 GB, free: 4.355 MB / 0.7917 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.004643/0.8151, allocations: 2.976 MB / 1.025 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8151, allocations: 12.03 kB / 1.025 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/0.8153, allocations: 248.9 kB / 1.025 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.8178, allocations: 0.6344 MB / 1.026 GB, free: 440 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/0.8213, allocations: 3.386 MB / 1.029 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.8213, allocations: 127.4 kB / 1.029 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.8215, allocations: 168 kB / 1.029 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.8239, allocations: 1.952 MB / 1.031 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.8239, allocations: 7.875 kB / 1.031 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.824, allocations: 79.98 kB / 1.031 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.824, allocations: 40 kB / 1.031 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.8265, allocations: 2.109 MB / 1.033 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008091/0.8345, allocations: 6.855 MB / 1.04 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.8368, allocations: 1.747 MB / 1.042 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/0.8376, allocations: 0.7105 MB / 1.042 GB, free: 14.76 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.8381, allocations: 129.2 kB / 1.043 GB, free: 14.64 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.8393, allocations: 1.025 MB / 1.044 GB, free: 13.59 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 2.315e-06/0.8393, allocations: 3.938 kB / 1.044 GB, free: 13.59 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.004233/0.8435, allocations: 2.633 MB / 1.046 GB, free: 10.93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.8436, allocations: 193.2 kB / 1.046 GB, free: 10.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/0.8482, allocations: 4.119 MB / 1.05 GB, free: 6.582 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004272/0.8486, allocations: 65.69 kB / 1.05 GB, free: 6.512 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/0.8494, allocations: 0.9195 MB / 1.051 GB, free: 5.582 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005671/0.85, allocations: 0.4919 MB / 1.052 GB, free: 5.086 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.8503, allocations: 238.8 kB / 1.052 GB, free: 4.844 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8504, allocations: 357.9 kB / 1.052 GB, free: 4.488 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008492/0.8513, allocations: 0.5882 MB / 1.053 GB, free: 3.902 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009381/0.8522, allocations: 0.8047 MB / 1.054 GB, free: 3.031 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.8538, allocations: 1.337 MB / 1.055 GB, free: 1.688 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.8539, allocations: 0 / 1.055 GB, free: 1.688 MB / 0.823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003273/0.8571, allocations: 1.808 MB / 1.057 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.8572, allocations: 10.59 kB / 1.057 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.8572, allocations: 3.984 kB / 1.057 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.8577, allocations: 208.2 kB / 1.057 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.8585, allocations: 327.5 kB / 1.057 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.8627, allocations: 6.81 MB / 1.064 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.864, allocations: 171 kB / 1.064 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.8641, allocations: 55.94 kB / 1.064 GB, free: 7.691 MB / 0.8386 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.0009434/0.8651, allocations: 0.4895 MB / 1.065 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.8655, allocations: 206.7 kB / 1.065 GB, free: 6.988 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.8683, allocations: 2.154 MB / 1.067 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.8683, allocations: 16 kB / 1.067 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8683, allocations: 0 / 1.067 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.8683, allocations: 7.969 kB / 1.067 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/0.8738, allocations: 4.144 MB / 1.071 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.8738, allocations: 0 / 1.071 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/0.8745, allocations: 315.6 kB / 1.071 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.875, allocations: 204.1 kB / 1.072 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.875, allocations: 39.97 kB / 1.072 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004358/0.8794, allocations: 6.848 MB / 1.078 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8794, allocations: 4.031 kB / 1.078 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.8827, allocations: 2.033 MB / 1.08 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009896/0.8837, allocations: 462 kB / 1.081 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.8839, allocations: 32 kB / 1.081 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.8845, allocations: 109.6 kB / 1.081 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.8848, allocations: 121 kB / 1.081 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.8849, allocations: 71.95 kB / 1.081 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002391/0.8873, allocations: 3.165 MB / 1.084 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8873, allocations: 0 / 1.084 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001976/0.8892, allocations: 0.6937 MB / 1.085 GB, free: 1.879 MB / 0.8542 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.004272/0.8935, allocations: 3.225 MB / 1.088 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002504/0.896, allocations: 2.027 MB / 1.09 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.896, allocations: 4.641 kB / 1.09 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.8973, allocations: 1.375 MB / 1.091 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.8993, allocations: 0.5559 MB / 1.092 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/0.9219, allocations: 21.26 MB / 1.113 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009866/0.9229, allocations: 1.545 MB / 1.114 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001371/0.9243, allocations: 0.5291 MB / 1.115 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009113/0.9252, allocations: 0.9132 MB / 1.115 GB, free: 2.246 MB / 0.8855 GB Notification: Performance of SimCode: time 1.953e-06/0.9252, allocations: 0 / 1.115 GB, free: 2.246 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4691/1.394, allocations: 51.13 MB / 1.165 GB, free: 296 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/12.41, allocations: 4.969 kB / 1.165 GB, free: 296 MB / 0.9167 GB " [Timeout remaining time 647] (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: 15.573846269864589] Failed to read output from testmodel.py, exit status != 0: 12.579945058794692 12.594060368 11.780710193 Calling exit ...