Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001273/0.001273, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001434/0.001434, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9069/0.9069, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7317/0.7317, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.446e-05, allocations: 9.312 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003803/0.003828, allocations: 3.057 MB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.006607, allocations: 1.675 MB / 0.6227 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.006836, allocations: 7.938 kB / 0.6227 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.007822, allocations: 330.7 kB / 0.623 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006175/0.00844, allocations: 222.8 kB / 0.6232 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.008936, allocations: 193.9 kB / 0.6234 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.009337, allocations: 322.9 kB / 0.6237 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.009686, allocations: 172.9 kB / 0.6239 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.01001, allocations: 191.5 kB / 0.6241 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.0103, allocations: 155.6 kB / 0.6242 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.01033, allocations: 20 kB / 0.6243 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.01069, allocations: 223.4 kB / 0.6245 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.0108, allocations: 107.7 kB / 0.6246 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.01088, allocations: 83.81 kB / 0.6246 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.01141, allocations: 450.6 kB / 0.6251 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01141, allocations: 0 / 0.6251 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/0.01141, allocations: 0 / 0.6251 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.01142, allocations: 4 kB / 0.6251 GB, free: 6.5 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008947/0.01232, allocations: 485.4 kB / 0.6255 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.01237, allocations: 8.031 kB / 0.6256 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.01242, allocations: 62.72 kB / 0.6256 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.01289, allocations: 92.69 kB / 0.6257 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.01321, allocations: 203.2 kB / 0.6259 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.01322, allocations: 20.88 kB / 0.6259 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.01331, allocations: 24.56 kB / 0.6259 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.01379, allocations: 420.9 kB / 0.6263 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.01381, allocations: 8.125 kB / 0.6263 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.01383, allocations: 11.92 kB / 0.6264 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-05/0.01391, allocations: 28.48 kB / 0.6264 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.01425, allocations: 305.8 kB / 0.6267 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.01551, allocations: 1.089 MB / 0.6277 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.01583, allocations: 206.5 kB / 0.6279 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.01594, allocations: 104.7 kB / 0.628 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.01606, allocations: 20.23 kB / 0.6281 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.01609, allocations: 34.56 kB / 0.6281 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/0.01609, allocations: 0 / 0.6281 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.001334/0.01742, allocations: 0.7211 MB / 0.6288 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.01746, allocations: 55.41 kB / 0.6288 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.01761, allocations: 199.7 kB / 0.629 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.01763, allocations: 29.7 kB / 0.6291 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.01771, allocations: 160.2 kB / 0.6292 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.01776, allocations: 71.42 kB / 0.6293 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.01783, allocations: 61.64 kB / 0.6293 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.01792, allocations: 326.8 kB / 0.6297 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.01804, allocations: 107.9 kB / 0.6298 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.0182, allocations: 175.5 kB / 0.6299 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.01849, allocations: 301.3 kB / 0.6302 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01849, allocations: 3.938 kB / 0.6302 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005401/0.01903, allocations: 406 kB / 0.6306 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.01905, allocations: 4 kB / 0.6306 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01906, allocations: 12.12 kB / 0.6306 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.01935, allocations: 100.7 kB / 0.6307 GB, free: 432 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.01951, allocations: 51.95 kB / 0.6308 GB, free: 380 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.02093, allocations: 1.756 MB / 0.6325 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.02104, allocations: 15.98 kB / 0.6325 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.02106, allocations: 11.98 kB / 0.6325 GB, free: 14.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.02119, allocations: 155.2 kB / 0.6327 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.02122, allocations: 27.95 kB / 0.6327 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.02156, allocations: 304.9 kB / 0.633 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.02157, allocations: 3.984 kB / 0.633 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02157, allocations: 0 / 0.633 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.02157, allocations: 0 / 0.633 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.0222, allocations: 0.65 MB / 0.6336 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.0222, allocations: 0 / 0.6336 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.02237, allocations: 59.95 kB / 0.6337 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.02237, allocations: 4 kB / 0.6337 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.02239, allocations: 8 kB / 0.6337 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.02239, allocations: 128 / 0.6337 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.02239, allocations: 7.938 kB / 0.6337 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.02282, allocations: 0.5048 MB / 0.6342 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.02289, allocations: 43.86 kB / 0.6342 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.02291, allocations: 4 kB / 0.6342 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/0.023, allocations: 19.91 kB / 0.6342 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.02303, allocations: 19.83 kB / 0.6343 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.02304, allocations: 7.938 kB / 0.6343 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.418e-05/0.02313, allocations: 148.1 kB / 0.6344 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02313, allocations: 0 / 0.6344 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002753/0.02341, allocations: 68 kB / 0.6345 GB, free: 12.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/0.02444, allocations: 1.059 MB / 0.6355 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.02499, allocations: 407.7 kB / 0.6359 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.025, allocations: 4 kB / 0.6359 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.0251, allocations: 111.9 kB / 0.636 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.0254, allocations: 26.56 kB / 0.636 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.02811, allocations: 2.852 MB / 0.6388 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.02826, allocations: 173 kB / 0.639 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.02842, allocations: 57.91 kB / 0.639 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.02852, allocations: 64.48 kB / 0.6391 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of SimCode: time 1.041e-06/0.02852, allocations: 0 / 0.6391 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.05576, allocations: 5.847 MB / 0.6448 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.039, allocations: 16.83 kB / 0.6448 GB, free: 1.77 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.75734326429665] Failed to read output from testmodel.py, exit status != 0: 7.124486663378775 7.135315301 7.122114354 Calling exit ...