Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00531/0.00531, allocations: 96.16 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 195.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 63.91 kB / 0.5809 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4553, allocations: 80.2 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1948/0.6501, allocations: 167 MB / 0.8223 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.6714, allocations: 17.11 MB / 0.839 GB, free: 13.47 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.673, allocations: 31.81 kB / 0.839 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.6749, allocations: 0.5431 MB / 0.8395 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.6801, allocations: 1.692 MB / 0.8412 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.6841, allocations: 1.395 MB / 0.8425 GB, free: 9.824 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003351/0.6875, allocations: 2.549 MB / 0.845 GB, free: 7.27 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.69, allocations: 1.959 MB / 0.8469 GB, free: 5.266 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.694, allocations: 1.402 MB / 0.8483 GB, free: 3.914 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.6955, allocations: 1.023 MB / 0.8493 GB, free: 2.887 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004162/0.6959, allocations: 208 kB / 0.8495 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.699, allocations: 1.548 MB / 0.851 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000652/0.6997, allocations: 0.7828 MB / 0.8518 GB, free: 356 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.7009, allocations: 1.197 MB / 0.8529 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.7059, allocations: 3.568 MB / 0.8564 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7059, allocations: 3.938 kB / 0.8564 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.442e-06/0.706, allocations: 0 / 0.8564 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.588e-05/0.706, allocations: 0 / 0.8564 GB, free: 11.56 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004936/0.711, allocations: 2.89 MB / 0.8593 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.711, allocations: 8.031 kB / 0.8593 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002712/0.7113, allocations: 248.5 kB / 0.8595 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/0.7151, allocations: 0.5721 MB / 0.8601 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.7196, allocations: 3.414 MB / 0.8634 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.7198, allocations: 135.2 kB / 0.8635 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.72, allocations: 160 kB / 0.8637 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/0.7234, allocations: 1.896 MB / 0.8655 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.7235, allocations: 0 / 0.8655 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.7237, allocations: 72 kB / 0.8656 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.7237, allocations: 40 kB / 0.8656 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3429/1.067, allocations: 2.059 MB / 0.8676 GB, free: 193.4 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.01216/1.079, allocations: 6.192 MB / 0.8737 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/1.082, allocations: 2.032 MB / 0.8757 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/1.084, allocations: 0.7356 MB / 0.8764 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/1.084, allocations: 433 kB / 0.8768 GB, free: 189 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/1.086, allocations: 0.9495 MB / 0.8777 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.176e-06/1.086, allocations: 0.5312 kB / 0.8777 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006817/1.093, allocations: 2.885 MB / 0.8806 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/1.093, allocations: 194.5 kB / 0.8807 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004524/1.098, allocations: 4.057 MB / 0.8847 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003261/1.098, allocations: 59.52 kB / 0.8848 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/1.099, allocations: 0.8811 MB / 0.8856 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/1.099, allocations: 480.2 kB / 0.8861 GB, free: 184 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/1.099, allocations: 224.3 kB / 0.8863 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/1.099, allocations: 349.7 kB / 0.8866 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/1.1, allocations: 0.5522 MB / 0.8872 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/1.102, allocations: 0.7814 MB / 0.8879 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/1.104, allocations: 1.272 MB / 0.8892 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.104, allocations: 3.609 kB / 0.8892 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003873/1.108, allocations: 1.731 MB / 0.8909 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.108, allocations: 5.812 kB / 0.8909 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.108, allocations: 1.156 kB / 0.8909 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.109, allocations: 215.6 kB / 0.8911 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.11, allocations: 308.4 kB / 0.8914 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004332/1.115, allocations: 7.326 MB / 0.8985 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.116, allocations: 160.1 kB / 0.8987 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.116, allocations: 50.22 kB / 0.8987 GB, free: 173.7 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.0009296/1.117, allocations: 478.9 kB / 0.8992 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004114/1.118, allocations: 200.2 kB / 0.8994 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/1.122, allocations: 2.055 MB / 0.9014 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.122, allocations: 14.5 kB / 0.9014 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.122, allocations: 2.562 kB / 0.9014 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.122, allocations: 7.969 kB / 0.9014 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006554/1.128, allocations: 3.971 MB / 0.9053 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.129, allocations: 0 / 0.9053 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.13, allocations: 316.3 kB / 0.9056 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008151/1.131, allocations: 201.8 kB / 0.9058 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/1.131, allocations: 43.06 kB / 0.9058 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004451/1.135, allocations: 7.35 MB / 0.913 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.135, allocations: 1.5 kB / 0.913 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004425/1.14, allocations: 1.936 MB / 0.9149 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.141, allocations: 0.5023 MB / 0.9154 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/1.141, allocations: 35.02 kB / 0.9154 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.142, allocations: 100 kB / 0.9155 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/1.143, allocations: 104.7 kB / 0.9156 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.143, allocations: 69.42 kB / 0.9157 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002504/1.145, allocations: 3.113 MB / 0.9187 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.145, allocations: 0 / 0.9187 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001754/1.147, allocations: 0.6487 MB / 0.9193 GB, free: 159.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00523/1.152, allocations: 3.133 MB / 0.9224 GB, free: 157 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002942/1.155, allocations: 1.986 MB / 0.9243 GB, free: 155 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.155, allocations: 12.38 kB / 0.9244 GB, free: 155 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/1.157, allocations: 1.383 MB / 0.9257 GB, free: 153.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.159, allocations: 0.5406 MB / 0.9262 GB, free: 153 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/1.184, allocations: 20.82 MB / 0.9466 GB, free: 131.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008028/1.184, allocations: 1.517 MB / 0.948 GB, free: 130.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001591/1.186, allocations: 0.5127 MB / 0.9485 GB, free: 129.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/1.187, allocations: 0.8741 MB / 0.9494 GB, free: 129 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/1.187, allocations: 0 / 0.9494 GB, free: 129 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08048/1.267, allocations: 47.27 MB / 0.9956 GB, free: 82.24 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.94, allocations: 19.95 kB / 0.9956 GB, free: 82.23 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)