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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008824/0.008824, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.00184/0.00184, allocations: 192.3 kB / 16.68 MB, free: 5.973 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8331/0.8331, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 69.58 kB / 0.5857 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 81.03 MB / 0.6649 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5335/0.6902, allocations: 167 MB / 0.8279 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.7129, allocations: 17.11 MB / 0.8446 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.7143, allocations: 32.62 kB / 0.8447 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.7158, allocations: 0.5223 MB / 0.8452 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004658/0.7205, allocations: 1.641 MB / 0.8468 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.724, allocations: 1.395 MB / 0.8481 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003011/0.727, allocations: 2.554 MB / 0.8506 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.7295, allocations: 1.971 MB / 0.8526 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.7333, allocations: 1.343 MB / 0.8539 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.7347, allocations: 1.033 MB / 0.8549 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.7349, allocations: 209 kB / 0.8551 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.7378, allocations: 1.547 MB / 0.8566 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007623/0.7386, allocations: 0.7751 MB / 0.8573 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.7398, allocations: 1.197 MB / 0.8585 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.7451, allocations: 3.572 MB / 0.862 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7452, allocations: 4 kB / 0.862 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7452, allocations: 0 / 0.862 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.124e-05/0.7452, allocations: 0 / 0.862 GB, free: 4.637 MB / 0.6231 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.004757/0.75, allocations: 2.898 MB / 0.8648 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.75, allocations: 9.109 kB / 0.8648 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002853/0.7503, allocations: 240.6 kB / 0.8651 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.754, allocations: 0.576 MB / 0.8656 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004654/0.7587, allocations: 3.422 MB / 0.869 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.7588, allocations: 123.3 kB / 0.8691 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.7591, allocations: 167.9 kB / 0.8693 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.7626, allocations: 1.884 MB / 0.8711 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.7626, allocations: 4 kB / 0.8711 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.7628, allocations: 76 kB / 0.8712 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.7628, allocations: 40 kB / 0.8712 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/0.7665, allocations: 2.065 MB / 0.8732 GB, free: 8.953 MB / 0.6387 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.01318/0.7797, allocations: 6.188 MB / 0.8793 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005277/0.785, allocations: 2.029 MB / 0.8813 GB, free: 408 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.7872, allocations: 0.7413 MB / 0.882 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009328/0.7882, allocations: 433.6 kB / 0.8824 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002908/0.7911, allocations: 0.9505 MB / 0.8833 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 4.619e-06/0.7911, allocations: 0 / 0.8833 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.01111/0.8022, allocations: 2.884 MB / 0.8861 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.8024, allocations: 193.2 kB / 0.8863 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007513/0.8099, allocations: 4.053 MB / 0.8903 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002924/0.8103, allocations: 53.7 kB / 0.8903 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.8115, allocations: 0.8878 MB / 0.8912 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006559/0.8122, allocations: 483.8 kB / 0.8917 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005705/0.8128, allocations: 226.9 kB / 0.8919 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.813, allocations: 353.9 kB / 0.8922 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.8149, allocations: 0.5491 MB / 0.8927 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.8171, allocations: 0.7735 MB / 0.8935 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/0.8212, allocations: 1.282 MB / 0.8948 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.8213, allocations: 0 / 0.8948 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00618/0.8274, allocations: 1.726 MB / 0.8964 GB, free: 472 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.8275, allocations: 8 kB / 0.8964 GB, free: 464 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.8275, allocations: 4.062 kB / 0.8964 GB, free: 460 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.8285, allocations: 208.1 kB / 0.8966 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.8301, allocations: 315.6 kB / 0.8969 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006519/0.8366, allocations: 7.338 MB / 0.9041 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.8381, allocations: 155.2 kB / 0.9043 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.8382, allocations: 51.95 kB / 0.9043 GB, free: 7.688 MB / 0.67 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.0008963/0.8391, allocations: 469.5 kB / 0.9048 GB, free: 7.219 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/0.8395, allocations: 198.7 kB / 0.9049 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.844, allocations: 2.059 MB / 0.907 GB, free: 4.934 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.844, allocations: 12 kB / 0.907 GB, free: 4.922 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8441, allocations: 4 kB / 0.907 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.8441, allocations: 12 kB / 0.907 GB, free: 4.906 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006783/0.8509, allocations: 3.964 MB / 0.9109 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.8509, allocations: 0 / 0.9109 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.8523, allocations: 315.5 kB / 0.9112 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008635/0.8532, allocations: 204.1 kB / 0.9114 GB, free: 348 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/0.8533, allocations: 35.97 kB / 0.9114 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006383/0.8597, allocations: 7.356 MB / 0.9186 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8597, allocations: 0 / 0.9186 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004348/0.8641, allocations: 1.943 MB / 0.9205 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008771/0.865, allocations: 0.5031 MB / 0.921 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.8652, allocations: 28 kB / 0.921 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.8664, allocations: 106.5 kB / 0.9211 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.8666, allocations: 97.17 kB / 0.9212 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.8668, allocations: 71.95 kB / 0.9213 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003489/0.8703, allocations: 3.116 MB / 0.9243 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8703, allocations: 0 / 0.9243 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001712/0.872, allocations: 0.6431 MB / 0.9249 GB, free: 1.688 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.006484/0.8785, allocations: 3.136 MB / 0.928 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.8821, allocations: 1.988 MB / 0.9299 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/0.8821, allocations: 4.797 kB / 0.9299 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.8842, allocations: 1.387 MB / 0.9313 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.8866, allocations: 0.5325 MB / 0.9318 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/0.9182, allocations: 20.82 MB / 0.9521 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.9195, allocations: 1.517 MB / 0.9536 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001702/0.9212, allocations: 0.5049 MB / 0.9541 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.9225, allocations: 0.878 MB / 0.955 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of SimCode: time 1.172e-06/0.9225, allocations: 0 / 0.955 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/1.027, allocations: 47.29 MB / 1.001 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/16.15, allocations: 7.672 kB / 1.001 GB, free: 3.754 MB / 0.7637 GB (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 --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)