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.007358/0.007358, allocations: 106.2 kB / 15.74 MB, free: 6 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.001691/0.001691, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8518/0.8518, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.84 kB / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4593, allocations: 80.2 MB / 0.6592 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1814/0.6407, allocations: 167 MB / 0.8223 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02131/0.662, allocations: 17.12 MB / 0.839 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.6637, allocations: 35.81 kB / 0.839 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.6652, allocations: 0.5353 MB / 0.8395 GB, free: 12.78 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.6695, allocations: 1.681 MB / 0.8412 GB, free: 11.1 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.6727, allocations: 1.394 MB / 0.8425 GB, free: 9.723 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002752/0.6754, allocations: 2.541 MB / 0.845 GB, free: 7.176 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.6776, allocations: 1.971 MB / 0.8469 GB, free: 5.156 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003524/0.6812, allocations: 1.389 MB / 0.8483 GB, free: 3.812 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.6824, allocations: 1.039 MB / 0.8493 GB, free: 2.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.6827, allocations: 208 kB / 0.8495 GB, free: 2.566 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.6855, allocations: 1.548 MB / 0.851 GB, free: 1.016 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006205/0.6861, allocations: 0.7789 MB / 0.8518 GB, free: 240 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.6872, allocations: 1.185 MB / 0.8529 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005119/0.6924, allocations: 3.555 MB / 0.8564 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6924, allocations: 0 / 0.8564 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.175e-06/0.6924, allocations: 3.938 kB / 0.8564 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.947e-05/0.6925, allocations: 4 kB / 0.8564 GB, free: 11.47 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.004498/0.697, allocations: 2.808 MB / 0.8592 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.697, allocations: 8.031 kB / 0.8592 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/0.6973, allocations: 248.5 kB / 0.8594 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.7008, allocations: 0.5668 MB / 0.86 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.7047, allocations: 3.393 MB / 0.8633 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.7048, allocations: 127.2 kB / 0.8634 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.705, allocations: 164 kB / 0.8635 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.7085, allocations: 1.892 MB / 0.8654 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.7086, allocations: 0 / 0.8654 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.7087, allocations: 72 kB / 0.8655 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.7087, allocations: 44 kB / 0.8655 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3621/1.071, allocations: 2.059 MB / 0.8675 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.0123/1.083, allocations: 6.173 MB / 0.8735 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/1.087, allocations: 2.034 MB / 0.8755 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/1.088, allocations: 0.7376 MB / 0.8763 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/1.089, allocations: 437.2 kB / 0.8767 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/1.091, allocations: 0.9392 MB / 0.8776 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.506e-06/1.091, allocations: 0.5938 kB / 0.8776 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006501/1.097, allocations: 2.877 MB / 0.8804 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/1.097, allocations: 197.2 kB / 0.8806 GB, free: 187 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/1.102, allocations: 4.057 MB / 0.8845 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002629/1.102, allocations: 59.64 kB / 0.8846 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/1.103, allocations: 0.8736 MB / 0.8855 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/1.103, allocations: 460.2 kB / 0.8859 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/1.103, allocations: 224.5 kB / 0.8861 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7e-05/1.103, allocations: 349.1 kB / 0.8864 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009938/1.104, allocations: 0.554 MB / 0.887 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.105, allocations: 0.7737 MB / 0.8877 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/1.108, allocations: 1.282 MB / 0.889 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/1.108, allocations: 1.281 kB / 0.889 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003761/1.112, allocations: 1.717 MB / 0.8907 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.112, allocations: 4.375 kB / 0.8907 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/1.112, allocations: 1.312 kB / 0.8907 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009611/1.113, allocations: 214 kB / 0.8909 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/1.114, allocations: 315.4 kB / 0.8912 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004436/1.119, allocations: 7.311 MB / 0.8983 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.12, allocations: 157.3 kB / 0.8985 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.12, allocations: 46.22 kB / 0.8985 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.0009757/1.121, allocations: 480.7 kB / 0.899 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/1.122, allocations: 184.5 kB / 0.8991 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/1.126, allocations: 2.061 MB / 0.9012 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/1.126, allocations: 14.5 kB / 0.9012 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.126, allocations: 2.75 kB / 0.9012 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.126, allocations: 7.969 kB / 0.9012 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/1.132, allocations: 3.958 MB / 0.9051 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.132, allocations: 0 / 0.9051 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.134, allocations: 313.6 kB / 0.9054 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000795/1.135, allocations: 199.4 kB / 0.9055 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.102e-05/1.135, allocations: 43.31 kB / 0.9056 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/1.139, allocations: 7.357 MB / 0.9128 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.139, allocations: 0 / 0.9128 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/1.143, allocations: 1.927 MB / 0.9146 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/1.144, allocations: 0.5003 MB / 0.9151 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/1.144, allocations: 26.22 kB / 0.9152 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.145, allocations: 105 kB / 0.9153 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/1.145, allocations: 102.3 kB / 0.9154 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.145, allocations: 65.05 kB / 0.9154 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002313/1.147, allocations: 3.119 MB / 0.9185 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/1.148, allocations: 0 / 0.9185 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001477/1.149, allocations: 0.6357 MB / 0.9191 GB, free: 159 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.004676/1.154, allocations: 3.125 MB / 0.9221 GB, free: 157 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002665/1.156, allocations: 1.992 MB / 0.9241 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.156, allocations: 8.312 kB / 0.9241 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.158, allocations: 1.389 MB / 0.9255 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.001875/1.16, allocations: 0.526 MB / 0.926 GB, free: 153 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/1.183, allocations: 20.75 MB / 0.9462 GB, free: 132.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/1.184, allocations: 1.517 MB / 0.9477 GB, free: 130.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001505/1.185, allocations: 0.5127 MB / 0.9482 GB, free: 130 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009035/1.186, allocations: 0.8702 MB / 0.9491 GB, free: 129.1 MB / 0.6856 GB Notification: Performance of SimCode: time 7.21e-07/1.186, allocations: 8 kB / 0.9491 GB, free: 129.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08542/1.271, allocations: 47.29 MB / 0.9952 GB, free: 82.33 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/16.1, allocations: 12.08 kB / 0.9953 GB, free: 82.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)